Files
kotlin-fork/compiler/testData/diagnostics/tests/j+k/recursionWithJavaSyntheticProperty.kt
T
2022-01-17 21:27:14 +03:00

12 lines
284 B
Kotlin
Vendored

// FILE: X.java
public class X {
int getFoo() {return 3;}
}
// FILE: Usage.kt
class A : X() {
// TODO: DEBUG_INFO_MISSING_UNRESOLVED indicates a bug here
override fun getFoo() = <!DEBUG_INFO_MISSING_UNRESOLVED, TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_ERROR!>foo<!>
}