JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
abstract class A(val s: String) {
|
||||
}
|
||||
|
||||
object B : A("test") {
|
||||
}
|
||||
|
||||
fun box() = if (B.s == "test") "OK" else "fail: ${B.s}"
|
||||
Reference in New Issue
Block a user