FIR LT: extract syntax diagnostic info from error element

#KT-56701 fixed
This commit is contained in:
Ilya Chernikov
2023-02-15 18:52:09 +01:00
committed by Space Team
parent e39eb62e6e
commit 27db8ce1bb
8 changed files with 33 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
compiler/testData/cli/jvm/firSyntaxError.kt:1:10: error: syntax error
compiler/testData/cli/jvm/firSyntaxError.kt:1:10: error: syntax error: Expecting '}'
fun a() {
^
COMPILATION_ERROR