[FIR] Don't expand typealiases when checking for DeprecatedSinceKotlin
During serialization, this can lead to a cycle resulting in a Stack Overflow. #KT-58356 Fixed
This commit is contained in:
committed by
Space Team
parent
da884bd554
commit
c867a4b52f
+6
@@ -13659,6 +13659,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deserializedOptInDeprecated.kt")
|
||||
public void testDeserializedOptInDeprecated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/deserializedOptInDeprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("falsePositiveBoundSmartcast.kt")
|
||||
public void testFalsePositiveBoundSmartcast() throws Exception {
|
||||
|
||||
+6
@@ -13761,6 +13761,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deserializedOptInDeprecated.kt")
|
||||
public void testDeserializedOptInDeprecated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/deserializedOptInDeprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("falsePositiveBoundSmartcast.kt")
|
||||
public void testFalsePositiveBoundSmartcast() throws Exception {
|
||||
|
||||
+6
@@ -13761,6 +13761,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deserializedOptInDeprecated.kt")
|
||||
public void testDeserializedOptInDeprecated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/deserializedOptInDeprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("falsePositiveBoundSmartcast.kt")
|
||||
public void testFalsePositiveBoundSmartcast() throws Exception {
|
||||
|
||||
+6
@@ -13761,6 +13761,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deserializedOptInDeprecated.kt")
|
||||
public void testDeserializedOptInDeprecated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/deserializedOptInDeprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("falsePositiveBoundSmartcast.kt")
|
||||
public void testFalsePositiveBoundSmartcast() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user