Support rendering receiver parameters

Otherwise generated coroutine implementation class could not be rendered since one of its members corresponds to receiver parameter descriptor.
This commit is contained in:
Ilya Gorbunov
2017-04-27 02:34:23 +03:00
parent 5f09e18394
commit 99504eb753
4 changed files with 39 additions and 3 deletions
@@ -72,6 +72,12 @@ public class DumpDeclarationsTestGenerated extends AbstractDumpDeclarationsTest
doTest(fileName);
}
@TestMetadata("suspendLambda.kt")
public void testSuspendLambda() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/suspendLambda.kt");
doTest(fileName);
}
@TestMetadata("suspendOverride.kt")
public void testSuspendOverride() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/suspendOverride.kt");