mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Suppress a kotlin 2.2.0 bug of IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE (#53489)
Summary: Changelog: [Internal] Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
1 parent
0e1b1ad469
commit
79f0466b45
1 file changed
+1
+1
@@ -38,6 +38,7 @@ import java.util.WeakHashMap
|
||||
internal class ReactProgressBarViewManager :
|
||||
BaseViewManager<ProgressBarContainerView, ProgressBarShadowNode>(),
|
||||
AndroidProgressBarManagerInterface<ProgressBarContainerView> {
|
||||
@Suppress("IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE")
|
||||
private val measuredStyles = WeakHashMap<Int, Pair<Int, Int>>()
|
||||
|
||||
private val delegate: ViewManagerDelegate<ProgressBarContainerView> =
|
||||
|
||||
Reference in new issue
Block a user