FIR: fix LT conversion of imports with backticks

This commit is contained in:
Ilya Chernikov
2022-02-02 16:39:11 +01:00
committed by teamcity
parent a08e70ae5c
commit 506152020d
@@ -231,7 +231,7 @@ class DeclarationsConverter(
private fun MutableList<String>.collectSegments(expression: LighterASTNode) { private fun MutableList<String>.collectSegments(expression: LighterASTNode) {
when (expression.tokenType) { when (expression.tokenType) {
REFERENCE_EXPRESSION -> add(expression.asText) REFERENCE_EXPRESSION -> add(expression.getAsStringWithoutBacktick())
DOT_QUALIFIED_EXPRESSION -> { DOT_QUALIFIED_EXPRESSION -> {
expression.forEachChildren { expression.forEachChildren {
collectSegments(it) collectSegments(it)