diff options
Diffstat (limited to 'libraries/eval/Eval.scala')
-rw-r--r-- | libraries/eval/Eval.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/eval/Eval.scala b/libraries/eval/Eval.scala index abd1836..1ab5762 100644 --- a/libraries/eval/Eval.scala +++ b/libraries/eval/Eval.scala @@ -581,6 +581,9 @@ class Eval(target: Option[File]) { if (Debug.enabled) Debug.printWithLineNumbers(code) + //reset reporter, or will always throw exception after one error while resetState==false + resetReporter() + // if you're looking for the performance hit, it's 1/2 this line... val compiler = new global.Run val sourceFiles = List(new BatchSourceFile("(inline)", code)) |