Skip to content

Commit 333f438

Browse files
Tiangong Lifacebook-github-bot
authored andcommitted
Suppress a kotlin 2.2.0 bug of IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE
Summary: For error ``` Identity-sensitive operation on an instance of value type 'Int?' may cause unexpected behavior or errors. ``` due to https://youtrack.jetbrains.com/issue/KT-78352/ Differential Revision: D81174630
1 parent 0931202 commit 333f438

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/progressbar/ReactProgressBarViewManager.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import java.util.WeakHashMap
3838
internal class ReactProgressBarViewManager :
3939
BaseViewManager<ProgressBarContainerView, ProgressBarShadowNode>(),
4040
AndroidProgressBarManagerInterface<ProgressBarContainerView> {
41+
@Suppress("IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE")
4142
private val measuredStyles = WeakHashMap<Int, Pair<Int, Int>>()
4243

4344
private val delegate: ViewManagerDelegate<ProgressBarContainerView> =

0 commit comments

Comments
 (0)