summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-02-21 15:19:18 +0000
committerpaltherr <paltherr@epfl.ch>2003-02-21 15:19:18 +0000
commit89161f84fd57d3b72edf628f744444f13cc9ebb8 (patch)
tree83593d610cb39fa84d3773da0b16e81bd3f2e1f2 /sources
parent6b2fcfb659d0de010e56f05a458ee4e2fb7a5be2 (diff)
downloadscala-89161f84fd57d3b72edf628f744444f13cc9ebb8.tar.gz
scala-89161f84fd57d3b72edf628f744444f13cc9ebb8.tar.bz2
scala-89161f84fd57d3b72edf628f744444f13cc9ebb8.zip
- Enhanced debug message
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/symtab/Symbol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index 95aa72803f..b8e1821daa 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -735,7 +735,7 @@ public abstract class Symbol implements Modifiers, Kinds {
public Symbol overloadWith(Symbol that) {
assert isTerm() : this;
assert this.name == that.name : this + " " + that;
- assert this.owner == that.owner : this + " " + that;
+ assert this.owner == that.owner : Debug.show(this) + " " + Debug.show(that);
assert (this.flags & that.flags & JAVA) != 0 ||
(this.flags & (SOURCEFLAGS | JAVA) & ~ACCESSFLAGS) ==
(that.flags & (SOURCEFLAGS | JAVA) & ~ACCESSFLAGS) : this + " " + that;