[FIR] Consider anonymous object declarations in classDeclarationsStack in transformers
This commit is contained in:
committed by
TeamCityServer
parent
b83ed7a6ed
commit
3beb447e85
+9
-3
@@ -11243,6 +11243,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/generics"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("anonymousObjectSupertypeWithTypeParameterFromFunction.kt")
|
||||
public void testAnonymousObjectSupertypeWithTypeParameterFromFunction() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/anonymousObjectSupertypeWithTypeParameterFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("argumentsForT.kt")
|
||||
public void testArgumentsForT() throws Exception {
|
||||
@@ -11352,9 +11358,9 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localClassWithTypeArgumentFromFunction.kt")
|
||||
public void testLocalClassWithTypeArgumentFromFunction() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/localClassWithTypeArgumentFromFunction.kt");
|
||||
@TestMetadata("localClassTypeRefWithTypeParameterFromFunction.kt")
|
||||
public void testLocalClassTypeRefWithTypeParameterFromFunction() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/localClassTypeRefWithTypeParameterFromFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user