summaryrefslogtreecommitdiff
path: root/sources/scalac/util/Debug.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-04-04 22:26:41 +0000
committerpaltherr <paltherr@epfl.ch>2004-04-04 22:26:41 +0000
commit50273683038b23a2e2ae3fb5dfc02ce6f682c4b7 (patch)
treeeef9eb547ee381c68c6f668eac6a93fe69775dd1 /sources/scalac/util/Debug.java
parent5f69afd077a95e2e3d1f9f0eefa4800b7286ffda (diff)
downloadscala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.tar.gz
scala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.tar.bz2
scala-50273683038b23a2e2ae3fb5dfc02ce6f682c4b7.zip
- Removed Symbol.ERROR and Kinds.ERROR
Diffstat (limited to 'sources/scalac/util/Debug.java')
-rw-r--r--sources/scalac/util/Debug.java8
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) {