JVM_IR KT-50193 result of !! is non-null

This commit is contained in:
Dmitry Petrov
2021-12-13 16:30:05 +03:00
committed by TeamCityServer
parent 343a860553
commit 34c70ea04e
12 changed files with 117 additions and 7 deletions
@@ -2274,6 +2274,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/exclExcl"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("exclExclOnPlatformType.kt")
public void testExclExclOnPlatformType() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/exclExcl/exclExclOnPlatformType.kt");
}
@Test
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
@@ -1340,6 +1340,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/expressions/equals.kt");
}
@Test
@TestMetadata("exclExclOnPlatformType.kt")
public void testExclExclOnPlatformType() throws Exception {
runTest("compiler/testData/ir/irText/expressions/exclExclOnPlatformType.kt");
}
@Test
@TestMetadata("exhaustiveWhenElseBranch.kt")
public void testExhaustiveWhenElseBranch() throws Exception {