[Analysis API FIR] fix ISE "Status should be resolved for a declaration to create it fake override"

on calling completion on an instance of `kotlin.Pair`.

Caused by unresolved status for `copy` created for data classes from a library.

^KT-62268 fixed
This commit is contained in:
Ilya Kirillov
2023-10-02 20:31:14 +02:00
committed by Space Team
parent 5d769bf524
commit 68c7673cb3
9 changed files with 901 additions and 2 deletions
@@ -76,6 +76,12 @@ public class FirStandaloneNormalAnalysisSourceModuleTypeScopeTestGenerated exten
runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/outerTypeParamsSubstitution.kt");
}
@Test
@TestMetadata("substitutedTypeFromLib.kt")
public void testSubstitutedTypeFromLib() throws Exception {
runTest("analysis/analysis-api/testData/components/scopeProvider/typeScope/substitutedTypeFromLib.kt");
}
@Test
@TestMetadata("typeParamList.kt")
public void testTypeParamList() throws Exception {