[VISUALIZER] Replace rendering of class with no name to anonymous
This commit is contained in:
committed by
TeamCityServer
parent
ca424a94ef
commit
813e48ffb4
+2
-2
@@ -130,8 +130,8 @@ class FirVisualizer(private val firFile: FirFile) : BaseRenderer() {
|
||||
stack.pop()
|
||||
}
|
||||
is KtClassOrObject -> {
|
||||
if (element.isLocal) stack.addName((element.name ?: "<no name provided>"))
|
||||
stack.push((element.name ?: "<no name provided>"))
|
||||
if (element.isLocal) stack.addName((element.name ?: "<anonymous>"))
|
||||
stack.push((element.name ?: "<anonymous>"))
|
||||
element.acceptChildren(this)
|
||||
stack.pop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user