Don't append 'is a module' suffix to ModuleDescriptor debug text
This commit is contained in:
committed by
teamcityserver
parent
708fead1cc
commit
f8fbbc01b6
@@ -391,11 +391,7 @@ internal class DescriptorRendererImpl(
|
||||
if (descriptor is PackageFragmentDescriptor || descriptor is PackageViewDescriptor) {
|
||||
return
|
||||
}
|
||||
if (descriptor is ModuleDescriptor) {
|
||||
append(" is a module")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
val containingDeclaration = descriptor.containingDeclaration
|
||||
if (containingDeclaration != null && containingDeclaration !is ModuleDescriptor) {
|
||||
append(" ").append(renderMessage("defined in")).append(" ")
|
||||
|
||||
Reference in New Issue
Block a user