From 2b4e7659237fe0e6eb5425ebe50ceab79af49816 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 3 Mar 2014 17:40:13 +0100 Subject: Typos corrected. More verbose assertions. Unnecessary semicolons removed. --- src/dotty/tools/dotc/core/Constants.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/Constants.scala') diff --git a/src/dotty/tools/dotc/core/Constants.scala b/src/dotty/tools/dotc/core/Constants.scala index b04ec0e89..48c832c4b 100644 --- a/src/dotty/tools/dotc/core/Constants.scala +++ b/src/dotty/tools/dotc/core/Constants.scala @@ -85,7 +85,7 @@ object Constants { def booleanValue: Boolean = if (tag == BooleanTag) value.asInstanceOf[Boolean] - else throw new Error("value " + value + " is not a boolean"); + else throw new Error("value " + value + " is not a boolean") def byteValue: Byte = tag match { case ByteTag => value.asInstanceOf[Byte] -- cgit v1.2.3