Revert "KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing"
This reverts commit a2077f9063.
This commit is contained in:
-22
@@ -10737,28 +10737,6 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/expressionAfterTypeReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ExpressionAfterTypeReference {
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionAfterTypeReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/expressionAfterTypeReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allowExpressionAfterTypeReference.kt")
|
||||
public void testAllowExpressionAfterTypeReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionAfterTypeReference/allowExpressionAfterTypeReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forbidExpressionAfterTypeReference.kt")
|
||||
public void testForbidExpressionAfterTypeReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionAfterTypeReference/forbidExpressionAfterTypeReference.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
-22
@@ -10737,28 +10737,6 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/expressionAfterTypeReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class ExpressionAfterTypeReference {
|
||||
@Test
|
||||
public void testAllFilesPresentInExpressionAfterTypeReference() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/expressionAfterTypeReference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("allowExpressionAfterTypeReference.kt")
|
||||
public void testAllowExpressionAfterTypeReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionAfterTypeReference/allowExpressionAfterTypeReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("forbidExpressionAfterTypeReference.kt")
|
||||
public void testForbidExpressionAfterTypeReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/expressionAfterTypeReference/forbidExpressionAfterTypeReference.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/extensions")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user