tests: Update external tests (1.1.2-dev-393)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface T {
|
||||
fun foo(): String
|
||||
}
|
||||
|
||||
val o = object : T {
|
||||
val a = "OK"
|
||||
val f = {
|
||||
a
|
||||
}()
|
||||
|
||||
override fun foo() = f
|
||||
}
|
||||
|
||||
fun box() = o.foo()
|
||||
Reference in New Issue
Block a user