[FIR] Complete delegated constructor calls without proper constructed type
This is needed to definitely complete arguments of such calls
This commit is contained in:
committed by
teamcity
parent
1591518cf6
commit
aadfc59d0f
+3
@@ -0,0 +1,3 @@
|
||||
KtErrorCallInfo:
|
||||
candidateCalls = []
|
||||
diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference: Unresolved>
|
||||
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
KtErrorCallInfo:
|
||||
candidateCalls = []
|
||||
diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference: Unresolved>
|
||||
diagnostic = ERROR<OTHER_ERROR: Unknown (other) error>
|
||||
|
||||
+6
@@ -1175,6 +1175,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/fir/analysis-tests/testData/resolve/constructors"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("erroneousDelegatedConstructorCall.kt")
|
||||
public void testErroneousDelegatedConstructorCall() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/constructors/erroneousDelegatedConstructorCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noSuperCallInSupertypes.kt")
|
||||
public void testNoSuperCallInSupertypes() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user