[FIR] Fix clearing info about DF variable after reassignment

This commit is contained in:
Dmitriy Novozhilov
2021-03-04 11:50:56 +03:00
parent f8adce8b96
commit a6d1d47918
19 changed files with 181 additions and 15 deletions
@@ -10945,6 +10945,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testClassCanNotBeCastedToVoid() throws Exception {
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
}
@TestMetadata("falsePositiveBoundSmartcast.kt")
public void testFalsePositiveBoundSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fullJdk")
@@ -10402,6 +10402,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testClassCanNotBeCastedToVoid() throws Exception {
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
}
@TestMetadata("falsePositiveBoundSmartcast.kt")
public void testFalsePositiveBoundSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fullJdk")
@@ -10402,6 +10402,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testClassCanNotBeCastedToVoid() throws Exception {
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
}
@TestMetadata("falsePositiveBoundSmartcast.kt")
public void testFalsePositiveBoundSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fullJdk")
@@ -5233,6 +5233,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testClassCanNotBeCastedToVoid() throws Exception {
runTest("compiler/testData/codegen/box/fir/classCanNotBeCastedToVoid.kt");
}
@TestMetadata("falsePositiveBoundSmartcast.kt")
public void testFalsePositiveBoundSmartcast() throws Exception {
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fullJdk")