Pass along type in IfNullExpressionFusionLowering
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fun problematic(s: String): String {
|
||||
return s.toNullable()?.id() ?: return "fail"
|
||||
}
|
||||
|
||||
fun String.toNullable(): String? = this
|
||||
|
||||
fun String.id() = this
|
||||
|
||||
fun box() = problematic("OK")
|
||||
Reference in New Issue
Block a user