Tests for issues fixed in JVM_IR
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// IGNORE_BACKEND: JVM
|
||||
open class Base(val fn: () -> String)
|
||||
|
||||
class Test(x: String) :
|
||||
Base({
|
||||
class Local(val t: String = x)
|
||||
Local().t
|
||||
})
|
||||
|
||||
fun box() =
|
||||
Test("OK").fn()
|
||||
Reference in New Issue
Block a user