diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/Global.scala | 6 |
1 files changed, 5 insertions, 1 deletions
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 |