Fix a problem where a sequence of out-of-block completions could lead to an inconsistent resolve session provided for a synthetic copy of a file
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class KotlinCodeBlockModificationListener(modificationTracker: PsiModific
|
||||
return false
|
||||
}
|
||||
|
||||
private fun isInsideCodeBlock(element: PsiElement?): Boolean {
|
||||
public fun isInsideCodeBlock(element: PsiElement?): Boolean {
|
||||
if (element is PsiFileSystemItem) return false
|
||||
if (element == null || element.getParent() == null) return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user