Correctly apply SAM conversions in superclass constructor calls
#KT-5452 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun box(): String {
|
||||
var v = "FAIL"
|
||||
val f = {-> v = "OK"}
|
||||
val x = object : JavaClass(f) {}
|
||||
x.run()
|
||||
return v
|
||||
}
|
||||
Reference in New Issue
Block a user