diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala b/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala index c814fcc865..1fc1d0b935 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala @@ -186,7 +186,7 @@ trait TypeKinds requires ICodes { /** A 4-byte floating point number */ case object FLOAT extends TypeKind { override def maxType(other: TypeKind): TypeKind = other match { - case BYTE | SHORT | CHAR | INT | FLOAT => FLOAT; + case BYTE | SHORT | CHAR | INT | LONG | FLOAT => FLOAT; case DOUBLE => DOUBLE; case _ => abort("Uncomparbale type kinds: FLOAT with " + other); } |