diff options
Diffstat (limited to 'sources/scalac/util/Debug.java')
-rw-r--r-- | sources/scalac/util/Debug.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sources/scalac/util/Debug.java b/sources/scalac/util/Debug.java index 6ecbdb66cd..efa1cab58f 100644 --- a/sources/scalac/util/Debug.java +++ b/sources/scalac/util/Debug.java @@ -484,11 +484,9 @@ public class DebugSymbol extends DebugAbstractHandler { public static DebugSymbol instance = new DebugSymbol(); public void append1(StringBuffer buffer, Symbol that) { - if (that != Symbol.NONE && that != Symbol.ERROR) { - if (!that.owner().isRoot() && !that.isRoot()) { - Debug.append(buffer, that.owner()); - buffer.append("."); - } + if (!that.isNone() && !that.owner().isRoot() && !that.isRoot()) { + Debug.append(buffer, that.owner()); + buffer.append("."); } buffer.append(that.name); if (Global.instance.uniqid) { |