KT-11721 Wrong "Typechecker has run into recursive problem" on calling kotlin get function as synthetic property

#KT-11721 Fixed
This commit is contained in:
Pavel V. Talanov
2016-03-31 18:50:59 +03:00
parent d5d19f5595
commit d7dc122298
6 changed files with 55 additions and 2 deletions
@@ -0,0 +1,12 @@
// 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() = <!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM, DEBUG_INFO_MISSING_UNRESOLVED!>foo<!>
}