Files
kotlin-fork/idea/testData/fir/multiModule/overrideWithJava/jvm/B.kt
T
Simon Ogorodnik 3a237416c9 Implement FIR loading for Java (classes, supertypes, parameters, funs)
Properties aren't implemented yet
FIR symbol provider functions return more specialized types now
Related to KT-28918, KT-29636, KT-29218

#KT-28788 Fixed
2019-02-19 09:54:20 +03:00

10 lines
158 B
Kotlin
Vendored

class B : A() {
override fun foo(): B = this
fun bar(): B = this // Ambiguity, no override here
fun test() {
foo()
bar()
}
}