aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Decorators.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-02 12:59:57 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-11-02 12:59:57 +0100
commit85fbd193135ab6ea2dae431fbd8ac11ee41b9a61 (patch)
tree9a461ba2bec076abdcc95a60cd62c7c65ebbebfb /src/dotty/tools/dotc/core/Decorators.scala
parentaac71c747181df1477aaa90b3a97491a0dc35dbf (diff)
downloaddotty-85fbd193135ab6ea2dae431fbd8ac11ee41b9a61.tar.gz
dotty-85fbd193135ab6ea2dae431fbd8ac11ee41b9a61.tar.bz2
dotty-85fbd193135ab6ea2dae431fbd8ac11ee41b9a61.zip
Clean up in `messages.scala`
Diffstat (limited to 'src/dotty/tools/dotc/core/Decorators.scala')
-rw-r--r--src/dotty/tools/dotc/core/Decorators.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Decorators.scala b/src/dotty/tools/dotc/core/Decorators.scala
index b0f1f0c98..a105741f5 100644
--- a/src/dotty/tools/dotc/core/Decorators.scala
+++ b/src/dotty/tools/dotc/core/Decorators.scala
@@ -179,7 +179,7 @@ object Decorators {
/** Formatter that adds syntax highlighting to all interpolated values */
def hl(args: Any*)(implicit ctx: Context): String =
- new SyntaxFormatter(sc).assemble(args)
+ new SyntaxFormatter(sc).assemble(args).stripMargin
}
}