diff options
author | paltherr <paltherr@epfl.ch> | 2004-01-23 08:44:27 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-01-23 08:44:27 +0000 |
commit | e72cb8c981f0f068de0c69e751d5e8b003ce8569 (patch) | |
tree | b4a97ff2e017867b5c549a6475660d3f13d6d309 /sources/scalac | |
parent | 56457e5b4f911922abcd0cafedb80bcd5dd0ecd2 (diff) | |
download | scala-e72cb8c981f0f068de0c69e751d5e8b003ce8569.tar.gz scala-e72cb8c981f0f068de0c69e751d5e8b003ce8569.tar.bz2 scala-e72cb8c981f0f068de0c69e751d5e8b003ce8569.zip |
- Improved assertion message
Diffstat (limited to 'sources/scalac')
-rw-r--r-- | sources/scalac/ast/TreeGen.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java index f9c4e9399d..2718287946 100644 --- a/sources/scalac/ast/TreeGen.java +++ b/sources/scalac/ast/TreeGen.java @@ -1019,7 +1019,8 @@ public class TreeGen implements Kinds, Modifiers, TypeTags { for (int i = 0; i < body.length; i++) { assert body[i] == Tree.Empty || body[i].definesSymbol() && body[i].symbol().owner() ==clazz: - "\nclass : " + clazz + + "\nclass : " + Debug.show(clazz) + + "\nmember: " + Debug.show(body[i].symbol()) + "\nmember: " + body[i]; } Global.instance.nextPhase(); |