for completely empty if statement, put on stack the Tuple0 instance, not its condition (KT-2062)
#KT-2062 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun box(): String {
|
||||
val a = if(true) {
|
||||
}
|
||||
return if (a.toString() == "()") "OK" else "fail"
|
||||
}
|
||||
Reference in New Issue
Block a user