summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-02-01 07:52:55 -0800
committerPaul Phillips <paulp@improving.org>2012-02-01 07:52:55 -0800
commitc0e87de8e9421cc2e03a066f307206f967fe518a (patch)
tree959d1629b7f03da73a9ca335411c40f42513b5e8 /src
parent37bcff7956451cd74d08899e0e49c8b569d3a882 (diff)
downloadscala-c0e87de8e9421cc2e03a066f307206f967fe518a.tar.gz
scala-c0e87de8e9421cc2e03a066f307206f967fe518a.tar.bz2
scala-c0e87de8e9421cc2e03a066f307206f967fe518a.zip
Tweak to repl debugging output.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/interpreter/IMain.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/interpreter/IMain.scala b/src/compiler/scala/tools/nsc/interpreter/IMain.scala
index 567d6c2f78..56bb72ca6f 100644
--- a/src/compiler/scala/tools/nsc/interpreter/IMain.scala
+++ b/src/compiler/scala/tools/nsc/interpreter/IMain.scala
@@ -831,7 +831,7 @@ class IMain(initialSettings: Settings, protected val out: JPrintWriter) extends
case xs => sys.error("Internal error: eval object " + evalClass + ", " + xs.mkString("\n", "\n", ""))
}
private def compileAndSaveRun(label: String, code: String) = {
- showCodeIfDebugging(code)
+ showCodeIfDebugging(packaged(code))
val (success, run) = compileSourcesKeepingRun(new BatchSourceFile(label, packaged(code)))
lastRun = run
success