From e4d499945b93f95bbff7e9fe71aeffc9af4fc8bd Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 18 Mar 2017 13:57:52 +0100 Subject: Handle hk lambdas in tasty --- compiler/src/dotty/tools/dotc/printing/Formatting.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/src/dotty/tools/dotc/printing') 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 } -- cgit v1.2.3