local classes without closures
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun box(): String {
|
||||
val x = "OK"
|
||||
class Aaa {
|
||||
val y = x
|
||||
}
|
||||
|
||||
return Aaa().y
|
||||
}
|
||||
Reference in New Issue
Block a user