Files
kotlin-fork/compiler/testData/diagnostics/tests/declarationChecks/mappedFunctionNotImplemented.kt
T
Andrey Zinovyev 1b81018b69 [FIR] Fix overloading of renamed jvm methods
#KT-48102 Fixed
2021-08-09 15:22:06 +03:00

13 lines
416 B
Kotlin
Vendored

// KT-48102
// FIR_IDENTICAL
// FILE: MyCharSequence.java
public class MyCharSequence implements CharSequence {
public char charAt(int index) { return ' '; }
public int length() { return 1; }
public CharSequence subSequence(int start, int end) { return this; }
public String toString() { return " "; }
}
// FILE: CharSeq.kt
class KtCharSeq : MyCharSequence() // false-positive 'get' not implemented