diff options
author | paltherr <paltherr@epfl.ch> | 2004-04-04 22:26:41 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-04-04 22:26:41 +0000 |
commit | 50273683038b23a2e2ae3fb5dfc02ce6f682c4b7 (patch) | |
tree | eef9eb547ee381c68c6f668eac6a93fe69775dd1 /sources/scalac/util | |
parent | 5f69afd077a95e2e3d1f9f0eefa4800b7286ffda (diff) | |
download | scala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.tar.gz scala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.tar.bz2 scala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.zip |
- Removed Symbol.ERROR and Kinds.ERROR
Diffstat (limited to 'sources/scalac/util')
-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) { |