[FIR] Fix all illegal usages of declarationSiteSession in compiler
There are still some usages in IDE which should be investigated
This commit is contained in:
committed by
TeamCityServer
parent
f98f41bbc3
commit
234ab3b35d
+1
-1
@@ -91,7 +91,7 @@ internal class KtFirScopeProvider(
|
||||
override fun getDeclaredMemberScope(classSymbol: KtSymbolWithMembers): KtDeclaredMemberScope = withValidityAssertion {
|
||||
declaredMemberScopeCache.getOrPut(classSymbol) {
|
||||
val firScope = classSymbol.withFirForScope {
|
||||
declaredMemberScope(it)
|
||||
analysisSession.rootModuleSession.declaredMemberScope(it)
|
||||
} ?: return@getOrPut KtFirEmptyMemberScope(classSymbol)
|
||||
|
||||
firScopeStorage.register(firScope)
|
||||
|
||||
Reference in New Issue
Block a user