JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package foo
|
||||
|
||||
class Foo {
|
||||
fun bar(param: String): String {
|
||||
val local = "K"
|
||||
var a = object {
|
||||
val b = object {
|
||||
val bar = param + local
|
||||
}
|
||||
}
|
||||
return a.b.bar
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Foo().bar("O")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user