You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val cursorExpr = element?.findParent<KtExpression>() ?:return nullResult("Couldn't find expression at ${describePosition(cursor)} (only found $element)")
70
71
val surroundingExpr = expandForReference(cursor, cursorExpr)
71
72
val scope = scopeAtPoint(cursor) ?:return nullResult("Couldn't find scope at ${describePosition(cursor)}")
73
+
// NOTE: Due to our tiny-fake-file mechanism, we may have `path == /dummy.virtual.kt != parse.containingFile.toPath`
74
+
val path = surroundingExpr.containingFile.toPath()
72
75
val context = bindingContextOf(surroundingExpr, scope)
0 commit comments