diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-11 16:50:45 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 10:52:33 +0100 |
commit | fd3b4e299816a55959c36652c2b664ff42458457 (patch) | |
tree | 2dddfa6a9804308f15aac2b4c98988c0cb9c3f3f /src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | |
parent | 584e9ea042c6d7b0faf6f674e1708ee79e255314 (diff) | |
download | dotty-fd3b4e299816a55959c36652c2b664ff42458457.tar.gz dotty-fd3b4e299816a55959c36652c2b664ff42458457.tar.bz2 dotty-fd3b4e299816a55959c36652c2b664ff42458457.zip |
Fix printing errors in ClassfileParser.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 2 |
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("")}""") } |