Treat accessors to JvmStatic methods as having no dispatch receiver

#KT-21246 Fixed
This commit is contained in:
Dmitry Petrov
2017-11-13 15:29:14 +03:00
parent db2aad1857
commit 15ac471626
7 changed files with 77 additions and 3 deletions
@@ -11081,6 +11081,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt21246.kt")
public void testKt21246() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/kt21246.kt");
doTest(fileName);
}
@TestMetadata("kt21246a.kt")
public void testKt21246a() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/kt21246a.kt");
doTest(fileName);
}
@TestMetadata("kt9897_static.kt")
public void testKt9897_static() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/jvmStatic/kt9897_static.kt");