JS backend: testFiles -> testData
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package foo
|
||||
|
||||
abstract class B {
|
||||
abstract fun foo(param: String): String
|
||||
}
|
||||
|
||||
class A : B() {
|
||||
// must be here - before open fun foo(String)
|
||||
private fun foo(param: Int) = "foo(Int)"
|
||||
|
||||
fun foo() = "foo()"
|
||||
|
||||
override fun foo(param: String) = "foo(String)"
|
||||
}
|
||||
|
||||
fun box(): Boolean {
|
||||
return A().foo("OK") == "foo(String)"
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package foo
|
||||
|
||||
fun box(): Boolean {
|
||||
var box = "foo"
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user