fixup! Iterate on symbols, not on scopes

This commit is contained in:
Dmitriy Novozhilov
2020-06-29 12:41:59 +03:00
committed by Ilya Kirillov
parent e7f5594ffe
commit cefecdef25
@@ -63,7 +63,8 @@ sealed class ImplicitReceiverValue<S : AbstractFirBasedSymbol<*>>(
final override var type: ConeKotlinType = type
private set
private var implicitScope: FirTypeScope? = type.scope(useSiteSession, scopeSession)
var implicitScope: FirTypeScope? = type.scope(useSiteSession, scopeSession)
private set
override fun scope(useSiteSession: FirSession, scopeSession: ScopeSession): FirTypeScope? = implicitScope