summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer/LambdaLift.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-07-22 09:27:52 +0000
committerMartin Odersky <odersky@gmail.com>2003-07-22 09:27:52 +0000
commite570d189e04924a7f2b59f4f859f642c43939a21 (patch)
treea4d384ddb861de15a04e67b1624711c97478c204 /sources/scalac/transformer/LambdaLift.java
parent74d350a2baff26d149e02110a9c3f079c2e03cac (diff)
downloadscala-e570d189e04924a7f2b59f4f859f642c43939a21.tar.gz
scala-e570d189e04924a7f2b59f4f859f642c43939a21.tar.bz2
scala-e570d189e04924a7f2b59f4f859f642c43939a21.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer/LambdaLift.java')
-rw-r--r--sources/scalac/transformer/LambdaLift.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/transformer/LambdaLift.java b/sources/scalac/transformer/LambdaLift.java
index 2b8a05135d..c18c466f9a 100644
--- a/sources/scalac/transformer/LambdaLift.java
+++ b/sources/scalac/transformer/LambdaLift.java
@@ -380,8 +380,8 @@ public class LambdaLift extends OwnerTransformer
Tree rhs1 = transform(rhs, sym);
if ((sym.flags & CAPTURED) != 0) {
assert sym.isLocal();
- Type unboxedType = sym.typeAt(descr.nextPhase);
- Type boxedType = descr.refType(unboxedType);
+ Type boxedType = sym.typeAt(descr.nextPhase);
+ Type unboxedType = boxedType.typeArgs()[0];
tpe1 = gen.mkType(tpe.pos, boxedType);
rhs1 = gen.New(
rhs.pos,