[FIR] Report missing TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM for local functions
^KT-59376 ^KT-55221 Fixed
This commit is contained in:
committed by
Space Team
parent
d9736ec88c
commit
dac8688a29
+1
-1
@@ -2,7 +2,7 @@
|
||||
fun foo() {
|
||||
fun fact(n: Int) = {
|
||||
if (n > 0) {
|
||||
fact(n - 1) <!UNRESOLVED_REFERENCE!>*<!> n
|
||||
<!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>fact(n - 1)<!> <!UNRESOLVED_REFERENCE!>*<!> n
|
||||
}
|
||||
else {
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user