Files
kotlin-fork/js/js.translator/testData/propertyAccess/cases/overloadedOverriddenFunctionPropertyName.kt
T
2015-09-22 15:00:24 +02:00

19 lines
259 B
Kotlin
Vendored

package foo
interface I {
fun test(): String
}
class P : I {
override fun test(): String {
return "a" + test("b")
}
private fun test(p: String): String {
return p
}
}
fun box(): Boolean {
return P().test() == "ab"
}