[Parser] Fix parsing of unfinished dot access in string template

Problem appeared in cases like this: "{someVar.}"

#KT-34440 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-12-16 14:47:54 +03:00
committed by TeamCityServer
parent 8999fd88b1
commit 329066a4f3
7 changed files with 51 additions and 1 deletions
@@ -328,6 +328,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/kt310.kt");
}
@TestMetadata("kt34440.kt")
public void testKt34440() throws Exception {
runTest("compiler/testData/diagnostics/tests/kt34440.kt");
}
@TestMetadata("kt34857.kt")
public void testKt34857() throws Exception {
runTest("compiler/testData/diagnostics/tests/kt34857.kt");