diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-28 02:54:01 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-28 02:54:01 +0000 |
commit | eb2d18b945770454adfe537f8a8248ba8250c5ee (patch) | |
tree | 79c2599962c4f0aa87d39dd868d83b69477c90fa /src | |
parent | 4505c2b05c622e5438dddb9a3a9b3296819baaa0 (diff) | |
download | scala-eb2d18b945770454adfe537f8a8248ba8250c5ee.tar.gz scala-eb2d18b945770454adfe537f8a8248ba8250c5ee.tar.bz2 scala-eb2d18b945770454adfe537f8a8248ba8250c5ee.zip |
Repl output fix.
Don't truncate errors or warnings. No review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/reporters/Reporter.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/reporters/Reporter.scala b/src/compiler/scala/tools/nsc/reporters/Reporter.scala index d08e9288c3..12306606e4 100644 --- a/src/compiler/scala/tools/nsc/reporters/Reporter.scala +++ b/src/compiler/scala/tools/nsc/reporters/Reporter.scala @@ -52,8 +52,8 @@ abstract class Reporter { def hasWarnings = WARNING.count > 0 def info(pos: Position, msg: String, force: Boolean) { info0(pos, msg, INFO, force) } - def warning(pos: Position, msg: String ) { info0(pos, msg, WARNING, false) } - def error(pos: Position, msg: String ) { info0(pos, msg, ERROR, false) } + def warning(pos: Position, msg: String ) { withoutTruncating(info0(pos, msg, WARNING, false)) } + def error(pos: Position, msg: String ) { withoutTruncating(info0(pos, msg, ERROR, false)) } def incompleteInputError(pos: Position, msg: String ) { if (incompleteHandled) incompleteHandler(pos, msg) else error(pos, msg) |