From eb2d18b945770454adfe537f8a8248ba8250c5ee Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 28 Oct 2011 02:54:01 +0000 Subject: Repl output fix. Don't truncate errors or warnings. No review. --- src/compiler/scala/tools/nsc/reporters/Reporter.scala | 4 ++-- 1 file 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) -- cgit v1.2.3