diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-16 13:16:26 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-16 13:16:26 +0000 |
commit | fdf807a9fc8bafecd1695d6078aafd027803fbf5 (patch) | |
tree | c48504859d4c35d48694da3aaee00ff457cd5b4d /sources/scalac/util | |
parent | 9cf2d7a56a9eeb5a9645303e8cf22a147969789b (diff) | |
download | scala-fdf807a9fc8bafecd1695d6078aafd027803fbf5.tar.gz scala-fdf807a9fc8bafecd1695d6078aafd027803fbf5.tar.bz2 scala-fdf807a9fc8bafecd1695d6078aafd027803fbf5.zip |
- Added a handle for Trees
Diffstat (limited to 'sources/scalac/util')
-rw-r--r-- | sources/scalac/util/Debug.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/scalac/util/Debug.java b/sources/scalac/util/Debug.java index 6acff253b7..65919b480f 100644 --- a/sources/scalac/util/Debug.java +++ b/sources/scalac/util/Debug.java @@ -17,6 +17,7 @@ import java.lang.reflect.Field; import scalac.Global; import scalac.ApplicationError; +import scalac.ast.Tree; import scalac.symtab.Type; import scalac.symtab.Symbol; import scalac.symtab.Scope; @@ -100,6 +101,7 @@ public abstract class Debug { static { handlers = new HashMap(); handlers.put(String.class, DebugToStringHandler.instance); + handlers.put(Tree.class, DebugToStringHandler.instance); handlers.put(Type.class, DebugType.instance); handlers.put(Symbol.class, DebugSymbol.instance); handlers.put(Scope.class, DebugScope.instance); |