[FIR] Report missing TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM for local functions

^KT-59376
^KT-55221 Fixed
This commit is contained in:
Ivan Kochurkin
2023-07-12 15:29:55 +02:00
committed by Space Team
parent d9736ec88c
commit dac8688a29
16 changed files with 41 additions and 34 deletions
@@ -3,10 +3,10 @@ fun main(args: Array<String>) {
fun f() = run {
<!WRONG_MODIFIER_TARGET!>private<!> class C {
private fun foo() {
f().<!UNRESOLVED_REFERENCE!>foo<!>();
<!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>f()<!>.<!UNRESOLVED_REFERENCE!>foo<!>();
}
}
C()
}
}
}