summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/util/Debug.java2
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);