[AA] do not try to build KtSymbol for FirErrorFunction
^KTIJ-23669 FirErrorFunctions are created for unknown labels when the code in return statements is not complete yet. Such labels cannot be resolved, and no symbols should be created for them
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// UNRESOLVED_REFERENCE
|
||||
fun bar(block: () -> Unit) {}
|
||||
|
||||
fun foo() {
|
||||
bar {
|
||||
return@<caret>b
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user