[FIR] Remove FirJsSyntheticNamesProvider and FirNativeSyntheticNamesProvider.kt

This commit is contained in:
Ivan Kochurkin
2022-07-01 21:45:25 +03:00
parent 502349c594
commit c47148b8fb
8 changed files with 20 additions and 44 deletions
@@ -185,9 +185,9 @@ internal class KtFirScopeProvider(
FakeOverrideTypeCalculator.Forced
) ?: return null
return KtCompositeTypeScope(
listOf(
listOfNotNull(
convertToKtTypeScope(firTypeScope),
convertToKtTypeScope(FirSyntheticPropertiesScope(firSession, firTypeScope))
FirSyntheticPropertiesScope.createIfSyntheticNamesProviderIsDefined(firSession, firTypeScope)?.let { convertToKtTypeScope(it) }
),
token
)