No more attempts to resolve KtDestructuringDeclaration to descriptor #KT-7929 Fixed
Also #KT-8442 Fixed
This commit is contained in:
@@ -217,7 +217,7 @@ class ResolveElementCache(
|
||||
contextElements
|
||||
.map { it.getNonStrictParentOfType<KtDeclaration>() }
|
||||
.filterNotNull()
|
||||
.filterTo(declarationsToResolve) { it !is KtAnonymousInitializer }
|
||||
.filterTo(declarationsToResolve) { it !is KtAnonymousInitializer && it !is KtDestructuringDeclaration }
|
||||
addResolveSessionBindingContext = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user