summaryrefslogtreecommitdiff
path: root/sources/scalac/util/Debug.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/util/Debug.java')
-rw-r--r--sources/scalac/util/Debug.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/util/Debug.java b/sources/scalac/util/Debug.java
index 0ae63c4006..c787c34ac8 100644
--- a/sources/scalac/util/Debug.java
+++ b/sources/scalac/util/Debug.java
@@ -506,7 +506,7 @@ public class DebugSymbol extends DebugAbstractHandler {
public void append1(StringBuffer buffer, Symbol that) {
if (that != Symbol.NONE && that != Symbol.ERROR) {
- if (that.owner() != Global.instance.definitions.ROOT_CLASS) {
+ if (!that.owner().isRoot()) {
Debug.append(buffer, that.owner());
buffer.append(".");
}