diff options
author | Miles Sabin <miles@milessabin.com> | 2009-12-23 11:55:30 +0000 |
---|---|---|
committer | Miles Sabin <miles@milessabin.com> | 2009-12-23 11:55:30 +0000 |
commit | 0cc326c7676844412ce0a2b5a3283a834041b86c (patch) | |
tree | 5923d5925b11ac131bee1d5d4fcfca3ec90ac2a1 | |
parent | e197e3a1f56a85e58d4a8805fabaaaa600814414 (diff) | |
download | scala-0cc326c7676844412ce0a2b5a3283a834041b86c.tar.gz scala-0cc326c7676844412ce0a2b5a3283a834041b86c.tar.bz2 scala-0cc326c7676844412ce0a2b5a3283a834041b86c.zip |
In resident mode the reporter should be reset a...
In resident mode the reporter should be reset after each compiler Run.
review by odersky.
-rw-r--r-- | src/compiler/scala/tools/nsc/Main.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Main.scala b/src/compiler/scala/tools/nsc/Main.scala index 315d94d7d4..577439990d 100644 --- a/src/compiler/scala/tools/nsc/Main.scala +++ b/src/compiler/scala/tools/nsc/Main.scala @@ -40,6 +40,7 @@ object Main extends AnyRef with EvalLoop { loop { line => val args = line.split(' ').toList val command = new CompilerCommand(args, new Settings(error), error, true) + compiler.reporter.reset new compiler.Run() compile command.files } } |