JS: move more test to box tests
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package foo
|
||||
|
||||
interface A {
|
||||
fun addFoo(s: String): String {
|
||||
return s + "K"
|
||||
}
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun hooray(): String {
|
||||
return "O"
|
||||
}
|
||||
}
|
||||
|
||||
interface AD : A, B {
|
||||
|
||||
}
|
||||
|
||||
class Test() : AD {
|
||||
fun eval(): String {
|
||||
return addFoo(hooray());
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = Test().eval()
|
||||
Reference in New Issue
Block a user