Make InsertImplicitCasts work with Descriptors and KotlinTypes again

This is a temporary change to make sure IrType infrastructure work is in
master.

It causes some of irText tests to work incorrectly (as in master).
This commit is contained in:
Dmitry Petrov
2019-06-24 16:48:59 +03:00
parent 8da5f6b955
commit b3b7e26985
31 changed files with 464 additions and 399 deletions
@@ -1656,6 +1656,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/types/nullabilityAssertionOnExtensionReceiver.kt");
}
@TestMetadata("platformTypeReceiver.kt")
public void testPlatformTypeReceiver() throws Exception {
runTest("compiler/testData/ir/irText/types/platformTypeReceiver.kt");
}
@TestMetadata("smartCastOnFieldReceiverOfGenericType.kt")
public void testSmartCastOnFieldReceiverOfGenericType() throws Exception {
runTest("compiler/testData/ir/irText/types/smartCastOnFieldReceiverOfGenericType.kt");