JS backend: testFiles -> testData
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package foo
|
||||
|
||||
open abstract class B() {
|
||||
abstract fun foo2(arg: Int = 239): Int
|
||||
}
|
||||
|
||||
class C() : B() {
|
||||
override fun foo2(arg: Int): Int = arg
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
if (C().foo2() != 239) return "fail1"
|
||||
if (C().foo2(10) != 10) return "fail2"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user