diff options
author | Martin Odersky <odersky@gmail.com> | 2011-03-07 07:54:13 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2011-03-07 07:54:13 +0000 |
commit | 1ff7cd53e3045a62f2bea37a83b4dbc37ee380e9 (patch) | |
tree | e33fc9d233ca0449a97cf864b65915482eec0ee6 /src | |
parent | 603c3dae0f74ccb9d9b34c9c004713ca3d0e8847 (diff) | |
download | scala-1ff7cd53e3045a62f2bea37a83b4dbc37ee380e9.tar.gz scala-1ff7cd53e3045a62f2bea37a83b4dbc37ee380e9.tar.bz2 scala-1ff7cd53e3045a62f2bea37a83b4dbc37ee380e9.zip |
One more log in presentation compiler
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 |