[FIR] Fix false positive case of CANNOT_CHECK_FOR_ERASED

Restore CANNOT_CHECK_FOR_ERASED as error
This commit is contained in:
Ivan Kochurkin
2021-11-15 17:04:43 +03:00
committed by teamcityserver
parent 850d76f6bf
commit f05436b939
13 changed files with 68 additions and 17 deletions
@@ -4095,6 +4095,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/cast/IsErasedAllowFromOut2.kt");
}
@Test
@TestMetadata("IsErasedAllowFromOut3.kt")
public void testIsErasedAllowFromOut3() throws Exception {
runTest("compiler/testData/diagnostics/tests/cast/IsErasedAllowFromOut3.kt");
}
@Test
@TestMetadata("IsErasedAllowFromOutAtClass.kt")
public void testIsErasedAllowFromOutAtClass() throws Exception {