PSI2IR: Generate IMPLICIT_NOTNULL casts for platform type values

This commit is contained in:
Dmitry Petrov
2019-11-22 14:15:08 +03:00
parent dabf6376db
commit 20fb519f1a
25 changed files with 264 additions and 49 deletions
@@ -861,6 +861,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/equality.kt");
}
@TestMetadata("equals.kt")
public void testEquals() throws Exception {
runTest("compiler/testData/ir/irText/expressions/equals.kt");
}
@TestMetadata("extFunInvokeAsFun.kt")
public void testExtFunInvokeAsFun() throws Exception {
runTest("compiler/testData/ir/irText/expressions/extFunInvokeAsFun.kt");
@@ -946,6 +951,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt");
}
@TestMetadata("implicitNotNullInDestructuringAssignment.kt")
public void testImplicitNotNullInDestructuringAssignment() throws Exception {
runTest("compiler/testData/ir/irText/expressions/implicitNotNullInDestructuringAssignment.kt");
}
@TestMetadata("in.kt")
public void testIn() throws Exception {
runTest("compiler/testData/ir/irText/expressions/in.kt");
@@ -1670,6 +1680,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/types/genericPropertyReferenceType.kt");
}
@TestMetadata("implicitNotNullOnPlatformType.kt")
public void testImplicitNotNullOnPlatformType() throws Exception {
runTest("compiler/testData/ir/irText/types/implicitNotNullOnPlatformType.kt");
}
@TestMetadata("intersectionType1_NI.kt")
public void testIntersectionType1_NI() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType1_NI.kt");