LT: make where clause with errors parsing same as with PSI
- do not fail on the missing terms - propagate invalid name to avoid reporting dangling constraints #KT-58455 fixed
This commit is contained in:
committed by
Space Team
parent
87563f3aea
commit
1d461684ae
+6
@@ -13972,6 +13972,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/generics/unresolvedClassifierInWhere.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whereClauseSyntax.kt")
|
||||
public void testWhereClauseSyntax() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/whereClauseSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wildcardInValueParameter.kt")
|
||||
public void testWildcardInValueParameter() throws Exception {
|
||||
|
||||
+6
@@ -13972,6 +13972,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/generics/unresolvedClassifierInWhere.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whereClauseSyntax.kt")
|
||||
public void testWhereClauseSyntax() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/generics/whereClauseSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("wildcardInValueParameter.kt")
|
||||
public void testWildcardInValueParameter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user