IR: fixes after rebase

This commit is contained in:
Dmitry Petrov
2019-04-23 12:03:13 +03:00
parent 339291b01f
commit 8da5f6b955
14 changed files with 381 additions and 24 deletions
@@ -1606,6 +1606,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/irText/types"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("asOnPlatformType.kt")
public void testAsOnPlatformType() throws Exception {
runTest("compiler/testData/ir/irText/types/asOnPlatformType.kt");
}
@TestMetadata("explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt")
public void testExplicitEqualsAndCompareToCallsOnPlatformTypeReceiver() throws Exception {
runTest("compiler/testData/ir/irText/types/explicitEqualsAndCompareToCallsOnPlatformTypeReceiver.kt");
@@ -1650,5 +1655,15 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
public void testNullabilityAssertionOnExtensionReceiver() throws Exception {
runTest("compiler/testData/ir/irText/types/nullabilityAssertionOnExtensionReceiver.kt");
}
@TestMetadata("smartCastOnFieldReceiverOfGenericType.kt")
public void testSmartCastOnFieldReceiverOfGenericType() throws Exception {
runTest("compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt");
}
@TestMetadata("smartCastOnReceiverOfGenericType.kt")
public void testSmartCastOnReceiverOfGenericType() throws Exception {
runTest("compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt");
}
}
}