Generate descriptor for trait constructor. Exception is thrown otherwise (EA-38416)

This commit is contained in:
Nikolay Krasko
2015-03-10 20:52:46 +03:00
parent 38809761e2
commit 6ba120bba8
7 changed files with 121 additions and 23 deletions
@@ -563,6 +563,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("TraitWithConstructor.kt")
public void testTraitWithConstructor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/TraitWithConstructor.kt");
doTest(fileName);
}
@TestMetadata("TypeInference.kt")
public void testTypeInference() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/TypeInference.kt");
@@ -543,6 +543,12 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
doParsingTest(fileName);
}
@TestMetadata("TraitConstructor.kt")
public void testTraitConstructor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/TraitConstructor.kt");
doParsingTest(fileName);
}
@TestMetadata("TryRecovery.kt")
public void testTryRecovery() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/TryRecovery.kt");