summaryrefslogtreecommitdiff
path: root/src/repl/scala/tools/nsc/interpreter/ILoop.scala
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-09-05 22:15:46 -0700
committerSom Snytt <som.snytt@gmail.com>2013-09-06 13:48:08 -0700
commit06c1c7855510ce31e43356407b95979e1e3813f1 (patch)
tree7ee9fc4b453e5539c8423e6b690b525c63128cb2 /src/repl/scala/tools/nsc/interpreter/ILoop.scala
parent6dd565ff9b73a3ebc8f702e01d46eca78b423dd9 (diff)
downloadscala-06c1c7855510ce31e43356407b95979e1e3813f1.tar.gz
scala-06c1c7855510ce31e43356407b95979e1e3813f1.tar.bz2
scala-06c1c7855510ce31e43356407b95979e1e3813f1.zip
SI-7805 REPL -i startup
Tested with a ReplTest that loads an include script. ReplTests can choose to be `Welcoming` and keep a normalized welcome message in their check transcript. One recent SessionTest is updated to use the normalizing API.
Diffstat (limited to 'src/repl/scala/tools/nsc/interpreter/ILoop.scala')
-rw-r--r--src/repl/scala/tools/nsc/interpreter/ILoop.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/scala/tools/nsc/interpreter/ILoop.scala b/src/repl/scala/tools/nsc/interpreter/ILoop.scala
index a623ee5055..ed56016bce 100644
--- a/src/repl/scala/tools/nsc/interpreter/ILoop.scala
+++ b/src/repl/scala/tools/nsc/interpreter/ILoop.scala
@@ -854,9 +854,9 @@ class ILoop(in0: Option[BufferedReader], protected val out: JPrintWriter)
globalFuture = future {
intp.initializeSynchronous()
loopPostInit()
- loadFiles(settings)
!intp.reporter.hasErrors
}
+ loadFiles(settings)
printWelcome()
try loop()