diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-11-20 17:31:15 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-11-20 17:31:15 +0000 |
commit | 7ae1ce1e8daf2de08775f264f370d2092fe29e1d (patch) | |
tree | b1dbea7b7d85823e3dc3a9fe42c18db51ae5abdb /src | |
parent | b574ca87cc56235cc9cae219f6d68b024bd43410 (diff) | |
download | scala-7ae1ce1e8daf2de08775f264f370d2092fe29e1d.tar.gz scala-7ae1ce1e8daf2de08775f264f370d2092fe29e1d.tar.bz2 scala-7ae1ce1e8daf2de08775f264f370d2092fe29e1d.zip |
Fixed typo.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala b/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala index 555895b1d9..79fdbbfce4 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala @@ -129,7 +129,7 @@ trait TypeKinds { self: ICodes => def maxType(other: TypeKind): TypeKind = other match { case UNIT => UNIT case REFERENCE(a) if a == definitions.AllClass => UNIT - case _ => abort("Uncomparabale type kinds: UNIT with " + other) + case _ => abort("Uncomparable type kinds: UNIT with " + other) } } @@ -138,7 +138,7 @@ trait TypeKinds { self: ICodes => override def maxType(other: TypeKind): TypeKind = other match { case BOOL => BOOL case REFERENCE(a) if a == definitions.AllClass => BOOL - case _ => abort("Uncomparabale type kinds: BOOL with " + other) + case _ => abort("Uncomparable type kinds: BOOL with " + other) } } @@ -148,7 +148,7 @@ trait TypeKinds { self: ICodes => other match { case BYTE | SHORT | CHAR | INT | LONG | FLOAT | DOUBLE => other case REFERENCE(a) if a == definitions.AllClass => BYTE - case _ => abort("Uncomparabale type kinds: BYTE with " + other) + case _ => abort("Uncomparable type kinds: BYTE with " + other) } } @@ -159,7 +159,7 @@ trait TypeKinds { self: ICodes => case BYTE | SHORT | CHAR => SHORT case REFERENCE(a) if a == definitions.AllClass => SHORT case INT | LONG | FLOAT | DOUBLE => other - case _ => abort("Uncomparabale type kinds: SHORT with " + other) + case _ => abort("Uncomparable type kinds: SHORT with " + other) } } @@ -170,7 +170,7 @@ trait TypeKinds { self: ICodes => case BYTE | SHORT | CHAR => CHAR case REFERENCE(a) if a == definitions.AllClass => CHAR case INT | LONG | FLOAT | DOUBLE => other - case _ => abort("Uncomparabale type kinds: CHAR with " + other) + case _ => abort("Uncomparable type kinds: CHAR with " + other) } } @@ -182,7 +182,7 @@ trait TypeKinds { self: ICodes => case BYTE | SHORT | CHAR | INT => INT case REFERENCE(a) if a == definitions.AllClass => INT case LONG | FLOAT | DOUBLE => other - case _ => abort("Uncomparabale type kinds: INT with " + other) + case _ => abort("Uncomparable type kinds: INT with " + other) } } @@ -193,7 +193,7 @@ trait TypeKinds { self: ICodes => case BYTE | SHORT | CHAR | INT | LONG => LONG case REFERENCE(a) if a == definitions.AllClass => LONG case FLOAT | DOUBLE => DOUBLE - case _ => abort("Uncomparabale type kinds: LONG with " + other) + case _ => abort("Uncomparable type kinds: LONG with " + other) } } @@ -203,7 +203,7 @@ trait TypeKinds { self: ICodes => case BYTE | SHORT | CHAR | INT | LONG | FLOAT => FLOAT case REFERENCE(a) if a == definitions.AllClass => FLOAT case DOUBLE => DOUBLE - case _ => abort("Uncomparabale type kinds: FLOAT with " + other) + case _ => abort("Uncomparable type kinds: FLOAT with " + other) } } @@ -213,7 +213,7 @@ trait TypeKinds { self: ICodes => if (other.isNumericType) DOUBLE else if (other == REFERENCE(definitions.AllClass)) DOUBLE - else abort("Uncomparabale type kinds: DOUBLE with " + other) + else abort("Uncomparable type kinds: DOUBLE with " + other) } /** A string reference */ |