Correctly apply SAM conversions in superclass constructor calls
#KT-5452 Fixed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
var status: String = "fail" // global property to avoid issues with accessing closure from local class (KT-4174)
|
||||
|
||||
class KotlinClass(): JavaClass({status="OK"}) {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
KotlinClass()
|
||||
return status
|
||||
}
|
||||
Reference in New Issue
Block a user