FIR: remove duplicate of 'wrapSubstitutionScopeIfNeed'

This commit is contained in:
Mikhail Glukhikh
2019-10-08 10:04:27 +03:00
parent a0ed03a121
commit dfa494a21e
3 changed files with 4 additions and 25 deletions
@@ -99,7 +99,7 @@ class JavaSymbolProvider(
if (symbol is FirClassSymbol && visitedSymbols.add(symbol)) {
// We need JavaClassEnhancementScope here to have already enhanced signatures from supertypes
val scope = buildJavaEnhancementScope(useSiteSession, symbol, scopeSession, visitedSymbols)
useSiteSuperType.wrapSubstitutionScopeIfNeed(useSiteSession, scope, scopeSession)
useSiteSuperType.wrapSubstitutionScopeIfNeed(useSiteSession, scope, symbol.fir, scopeSession)
} else {
null
}