generate more correct bytecode for casting Unit to other types
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
val foo: () -> Unit = {}
|
||||
|
||||
fun box(): String {
|
||||
foo() as Unit
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user