Properly check expression nullability on attempt to apply == optimizations
#Fix KT-19767
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
//WITH_RUNTIME
|
||||
|
||||
fun box(): String {
|
||||
val map: Map<String, Boolean>? = mapOf()
|
||||
return if (map?.get("") == true) "fail" else "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user