Files
kotlin-fork/js/js.translator/testFiles/propertyAccess/cases/overloadedOverriddenFunctionPropertyName.kt
T
2012-06-28 09:57:19 +04:00

14 lines
221 B
Kotlin

package foo
trait 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"
}