Skip to content

Commit 79f0466

Browse files
Tiangong Lifacebook-github-bot
authored andcommitted
Suppress a kotlin 2.2.0 bug of IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE (#53489)
Summary: Changelog: [Internal] Pull Request resolved: #53489 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/ Reviewed By: cortinico Differential Revision: D81174630 fbshipit-source-id: c68e3a348e75b7bceb183b77a45b2729f1e70bcd
1 parent 0e1b1ad commit 79f0466

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)