diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-03-09 15:12:12 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-03-09 15:12:12 +0000 |
commit | ab6384691801ae589265a0f4d15c79f11d7fc35c (patch) | |
tree | 727d3de7b730c55b4f55e47437d7541e0883f745 | |
parent | f7567ab63598d6d2c6ac3bfe49551256f05e5213 (diff) | |
download | scala-ab6384691801ae589265a0f4d15c79f11d7fc35c.tar.gz scala-ab6384691801ae589265a0f4d15c79f11d7fc35c.tar.bz2 scala-ab6384691801ae589265a0f4d15c79f11d7fc35c.zip |
Fixed inconsistent stack height bug when boxing...
Fixed inconsistent stack height bug when boxing involved
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/GenICode.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala index 49000d1643..71a88c6c14 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/GenICode.scala @@ -659,6 +659,7 @@ abstract class GenICode extends SubComponent { val ctx1 = genLoad(expr, ctx, toTypeKind(expr.tpe)) val boxType = fun.symbol.owner.linkedClassOfClass.tpe ctx1.bb.emit(BOX(toTypeKind(boxType)), expr.pos) + generatedType = ANY_REF_CLASS ctx1 case Apply(fun @ _, List(expr)) if (definitions.isUnbox(fun.symbol)) => |