Fix current package removing from properties
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f0e7dcc4f6
commit
fd461a5147
+2
-1
@@ -250,7 +250,8 @@ class FirRenderer(private val firFile: FirFile) : FirVisitor<Unit, StringBuilder
|
|||||||
var id = when (symbol) {
|
var id = when (symbol) {
|
||||||
is ConeCallableSymbol -> {
|
is ConeCallableSymbol -> {
|
||||||
val callableId = symbol.callableId
|
val callableId = symbol.callableId
|
||||||
callableId.toString().replace("." + callableId.callableName.asString(), "")
|
val idWithPackage = callableId.toString().replace("." + callableId.callableName.asString(), "")
|
||||||
|
removeCurrentFilePackage(idWithPackage)
|
||||||
}
|
}
|
||||||
is ConeClassLikeSymbol -> symbol.classId.getWithoutCurrentPackage()
|
is ConeClassLikeSymbol -> symbol.classId.getWithoutCurrentPackage()
|
||||||
else -> ""
|
else -> ""
|
||||||
|
|||||||
Reference in New Issue
Block a user