KT-11943 Do not use intrinsic 'java' property if receiver type is not acceptable

This commit is contained in:
Dmitry Petrov
2016-04-18 16:43:49 +03:00
parent 120bced842
commit e441f0509f
3 changed files with 34 additions and 2 deletions
@@ -11285,6 +11285,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/javaReified.kt");
doTest(fileName);
}
@TestMetadata("kt11943.kt")
public void testKt11943() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/javaProperties/kt11943.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/box/reflection/kClassInAnnotation")