Weaken PRIVATE_CLASS_MEMBER_FROM_INLINE diagnostic

This commit is contained in:
Michael Bogdanov
2016-02-11 17:41:03 +03:00
parent 384d2ea0d1
commit 4f0f81155a
7 changed files with 56 additions and 3 deletions
@@ -1381,6 +1381,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/private"), Pattern.compile("^(.+)\\.1.kt$"), true);
}
@TestMetadata("effectivePrivate.1.kt")
public void testEffectivePrivate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/private/effectivePrivate.1.kt");
doTestMultiFileWithInlineCheck(fileName);
}
@TestMetadata("kt6453.1.kt")
public void testKt6453() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/private/kt6453.1.kt");
@@ -1381,6 +1381,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/private"), Pattern.compile("^(.+)\\.1.kt$"), true);
}
@TestMetadata("effectivePrivate.1.kt")
public void testEffectivePrivate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/private/effectivePrivate.1.kt");
doBoxTestWithInlineCheck(fileName);
}
@TestMetadata("kt6453.1.kt")
public void testKt6453() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/private/kt6453.1.kt");