KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing

This commit is contained in:
Iven Krall
2022-07-21 09:40:42 +02:00
committed by teamcity
parent c1f0e71056
commit 2053363def
20 changed files with 705 additions and 387 deletions
@@ -2444,6 +2444,11 @@ public class ParsingTestGenerated extends AbstractParsingTest {
runTest("compiler/testData/psi/recovery/SameLineStatementRecovery.kt");
}
@TestMetadata("TypeParameterBeforeEqualSign.kt")
public void testTypeParameterBeforeEqualSign() throws Exception {
runTest("compiler/testData/psi/recovery/TypeParameterBeforeEqualSign.kt");
}
@TestMetadata("UnfinishedExtension.kt")
public void testUnfinishedExtension() throws Exception {
runTest("compiler/testData/psi/recovery/UnfinishedExtension.kt");