aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/printing
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-18 13:57:52 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:28 +0200
commite4d499945b93f95bbff7e9fe71aeffc9af4fc8bd (patch)
treef07ff4b6dae3bb30bef7d4f924b5013f427acc26 /compiler/src/dotty/tools/dotc/printing
parentc67217594bb40e1eab7e567c97bdf29ac0654864 (diff)
downloaddotty-e4d499945b93f95bbff7e9fe71aeffc9af4fc8bd.tar.gz
dotty-e4d499945b93f95bbff7e9fe71aeffc9af4fc8bd.tar.bz2
dotty-e4d499945b93f95bbff7e9fe71aeffc9af4fc8bd.zip
Handle hk lambdas in tasty
Diffstat (limited to 'compiler/src/dotty/tools/dotc/printing')
-rw-r--r--compiler/src/dotty/tools/dotc/printing/Formatting.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/printing/Formatting.scala b/compiler/src/dotty/tools/dotc/printing/Formatting.scala
index e8fa45403..4a57270a4 100644
--- a/compiler/src/dotty/tools/dotc/printing/Formatting.scala
+++ b/compiler/src/dotty/tools/dotc/printing/Formatting.scala
@@ -31,7 +31,7 @@ object Formatting {
case arg: Showable =>
try arg.show
catch {
- case NonFatal(ex) => s"[cannot display due to $ex, raw string = $toString]"
+ case NonFatal(ex) if false => s"[cannot display due to $ex, raw string = $toString]"
}
case _ => arg.toString
}