From 1ff7cd53e3045a62f2bea37a83b4dbc37ee380e9 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 7 Mar 2011 07:54:13 +0000 Subject: One more log in presentation compiler --- src/compiler/scala/tools/nsc/interactive/Global.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala index 75026af509..90d6a498b0 100644 --- a/src/compiler/scala/tools/nsc/interactive/Global.scala +++ b/src/compiler/scala/tools/nsc/interactive/Global.scala @@ -27,7 +27,6 @@ class Global(settings: Settings, reporter: Reporter) with ContextTrees with RichCompilationUnits with Picklers { -self => import definitions._ @@ -525,6 +524,11 @@ self => parseAndEnter(unit) val tree = locateTree(pos) debugLog("at pos "+pos+" was found: "+tree.getClass+" "+tree.pos.show) + tree match { + case Import(expr, _) => + debugLog("import found"+expr.tpe+" "+expr.tpe.members) + case _ => + } if (stabilizedType(tree) ne null) { debugLog("already attributed") tree -- cgit v1.2.3