JVM IR: Fix types in generated function reference constructor
For references to suspend functions this fixes an IllegalStateException in the type mapper, which is what the "suspendFunctionMethodReference" test is about.
This commit is contained in:
committed by
Alexander Udalov
parent
f3db113a82
commit
20a5c44e41
+5
@@ -6466,6 +6466,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Coroutines extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("suspendFunctionMethodReference.kt")
|
||||
public void ignoreSuspendFunctionMethodReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/suspendFunctionMethodReference.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user