Allow no super class initialization within header

if there is no primary constructor
This commit is contained in:
Denis Zharkov
2015-02-05 11:28:18 +03:00
parent 1555eec954
commit 3509cafcea
7 changed files with 47 additions and 4 deletions
@@ -10427,6 +10427,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("noSupertypeInitWithSecondaryConstructors.kt")
public void testNoSupertypeInitWithSecondaryConstructors() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/secondaryConstructors/noSupertypeInitWithSecondaryConstructors.kt");
doTest(fileName);
}
@TestMetadata("superAnyNonEmpty.kt")
public void testSuperAnyNonEmpty() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/secondaryConstructors/superAnyNonEmpty.kt");