Raw FIR: fix LT label source
This commit is contained in:
committed by
TeamCityServer
parent
9e5f03dd7d
commit
1fcebab827
+4
-1
@@ -344,7 +344,10 @@ class ExpressionsConverter(
|
||||
when (it.tokenType) {
|
||||
LABEL_QUALIFIER -> {
|
||||
val rawName = it.toString()
|
||||
val pair = buildLabelAndErrorSource(rawName.substring(0, rawName.length - 1), it.toFirSourceElement())
|
||||
val pair = buildLabelAndErrorSource(
|
||||
rawName.substring(0, rawName.length - 1),
|
||||
it.getChildNodesByType(LABEL).single().toFirSourceElement()
|
||||
)
|
||||
context.addNewLabel(pair.first)
|
||||
errorLabelSource = pair.second
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user