Handle unbound extension receiver in callable reference adaptation

This commit is contained in:
Dmitry Petrov
2020-03-10 13:36:52 +03:00
parent e175ff0d73
commit 90d012cecb
8 changed files with 188 additions and 14 deletions
@@ -14860,6 +14860,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class SerializationRegressions extends AbstractLightAnalysisModeTest {
@TestMetadata("transitiveClash.kt")
public void ignoreTransitiveClash() throws Exception {
runTest("compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -14883,11 +14888,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/ir/serializationRegressions/innerClassInEnumEntryClass.kt");
}
@TestMetadata("transitiveClash.kt")
public void testTransitiveClash() throws Exception {
runTest("compiler/testData/codegen/box/ir/serializationRegressions/transitiveClash.kt");
}
@TestMetadata("useImportedMember.kt")
public void testUseImportedMember() throws Exception {
runTest("compiler/testData/codegen/box/ir/serializationRegressions/useImportedMember.kt");