aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-11 16:50:45 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-18 10:52:33 +0100
commitfd3b4e299816a55959c36652c2b664ff42458457 (patch)
tree2dddfa6a9804308f15aac2b4c98988c0cb9c3f3f /src
parent584e9ea042c6d7b0faf6f674e1708ee79e255314 (diff)
downloaddotty-fd3b4e299816a55959c36652c2b664ff42458457.tar.gz
dotty-fd3b4e299816a55959c36652c2b664ff42458457.tar.bz2
dotty-fd3b4e299816a55959c36652c2b664ff42458457.zip
Fix printing errors in ClassfileParser.
Diffstat (limited to 'src')
-rw-r--r--src/dotty/tools/dotc/core/pickling/ClassfileParser.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
index f658ff931..ed3eb7251 100644
--- a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
+++ b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
@@ -50,7 +50,7 @@ class ClassfileParser(
case e: RuntimeException =>
if (ctx.debug) e.printStackTrace()
throw new IOException(
- sm"""class file $classfile is broken, reading aborted with $e.getClass
+ sm"""class file $classfile is broken, reading aborted with ${e.getClass}
|${Option(e.getMessage).getOrElse("")}""")
}