FIR LT: extract syntax diagnostic info from error element
#KT-56701 fixed
This commit is contained in:
committed by
Space Team
parent
e39eb62e6e
commit
27db8ce1bb
+3
@@ -14,5 +14,8 @@ import org.jetbrains.kotlin.fir.checkers.generator.diagnostics.model.DiagnosticL
|
||||
object SYNTAX_DIAGNOSTIC_LIST : DiagnosticList("FirSyntaxErrors") {
|
||||
val Syntax by object : DiagnosticGroup("Syntax") {
|
||||
val SYNTAX by error<PsiElement>()
|
||||
val SYNTAX_WITH_MESSAGE by error<PsiElement>() {
|
||||
parameter<String>("message")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user