[FIR] Add missing ensureResolved to FirClassSubstitutionScope

`createNewTypeParametersAndSubstitutor` call might need resolved types
to be able to work correctly with the generics' type bounds
This commit is contained in:
Roman Golyshev
2021-10-28 13:58:12 +03:00
committed by TeamCityServer
parent 534beb8553
commit 29bb8cea8f
4 changed files with 184 additions and 1 deletions
@@ -47,4 +47,10 @@ public class FirMemberScopeByFqNameTestGenerated extends AbstractFirMemberScopeB
public void testMutableList() throws Exception {
runTest("analysis/analysis-api/testData/scopes/memberScopeByFqName/MutableList.kt");
}
@Test
@TestMetadata("overridenFunctionWithGenericBound.kt")
public void testOverridenFunctionWithGenericBound() throws Exception {
runTest("analysis/analysis-api/testData/scopes/memberScopeByFqName/overridenFunctionWithGenericBound.kt");
}
}