aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Constants.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
commit2b4e7659237fe0e6eb5425ebe50ceab79af49816 (patch)
tree131f10e44f0904988ded6c1cb894246a31ed37df /src/dotty/tools/dotc/core/Constants.scala
parent18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595 (diff)
downloaddotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.gz
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.bz2
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.zip
Typos corrected.
More verbose assertions. Unnecessary semicolons removed.
Diffstat (limited to 'src/dotty/tools/dotc/core/Constants.scala')
-rw-r--r--src/dotty/tools/dotc/core/Constants.scala2
1 files changed, 1 insertions, 1 deletions
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]