[FIR] Allow Int? === null
It was decided to allow this comparison duting the last DM. ^KT-62646
This commit is contained in:
committed by
Space Team
parent
4abfb2534a
commit
6607c8a056
+1
-1
@@ -87,7 +87,7 @@ fun incompatibleIdentityRegardlessNullabilitySmartCast(a: Any?, b: Any?) {
|
||||
|
||||
fun incompatibleIdentityRegardlessNullabilityWithNull(a: Int?) {
|
||||
a == null
|
||||
<!FORBIDDEN_IDENTITY_EQUALS_WARNING!>a === null<!>
|
||||
a === null
|
||||
}
|
||||
|
||||
fun incompatibleIdentityRegardlessNullabilityWithValueClasses(c: C?, d: D?) {
|
||||
|
||||
Reference in New Issue
Block a user