FIR IDE: Fix searching for the closest function to re-resolve
If the function is local, there would be errors related to its unresolved body and receiver type
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
// FIR_COMPARISON
|
||||
val topLevelVal = ""
|
||||
|
||||
fun topLevel(topLevelArg: String) {
|
||||
val inTopLevelVal = 10
|
||||
|
||||
fun local(localArg: String) {
|
||||
val inLocalVal = 20
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: topLevelVal
|
||||
// EXIST: topLevelArg
|
||||
// EXIST: inTopLevelVal
|
||||
// EXIST: localArg
|
||||
// EXIST: inLocalVal
|
||||
Reference in New Issue
Block a user