[FIR] Add wrapping scopes with forced calculator in checkers and fir2ir

This commit is contained in:
Dmitriy Novozhilov
2020-10-16 11:21:57 +03:00
parent e75f218f87
commit 5f641a2552
18 changed files with 47 additions and 23 deletions
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.fir.scopes.unsubstitutedScope
import org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol
fun renderJavaClass(renderer: FirRenderer, javaClass: FirJavaClass, session: FirSession) {
val memberScope = javaClass.unsubstitutedScope(session, ScopeSession())
val memberScope = javaClass.unsubstitutedScope(session, ScopeSession(), withForcedTypeCalculator = true)
val staticScope = javaClass.scopeProvider.getStaticScope(javaClass, session, ScopeSession())