summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer/LambdaLiftPhase.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-03-04 15:20:12 +0000
committerMartin Odersky <odersky@gmail.com>2003-03-04 15:20:12 +0000
commite9e6e2ee0d5d12853d2d6f9ce2a6bc3148fd4c40 (patch)
treee0a36ec3beb00f77c4c95f208b3f270b4c3a136e /sources/scalac/transformer/LambdaLiftPhase.java
parentc92e218894312499145816a5ad1f70f042e112b1 (diff)
downloadscala-e9e6e2ee0d5d12853d2d6f9ce2a6bc3148fd4c40.tar.gz
scala-e9e6e2ee0d5d12853d2d6f9ce2a6bc3148fd4c40.tar.bz2
scala-e9e6e2ee0d5d12853d2d6f9ce2a6bc3148fd4c40.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer/LambdaLiftPhase.java')
-rw-r--r--sources/scalac/transformer/LambdaLiftPhase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/transformer/LambdaLiftPhase.java b/sources/scalac/transformer/LambdaLiftPhase.java
index 35e3e44ff0..4208e6ede1 100644
--- a/sources/scalac/transformer/LambdaLiftPhase.java
+++ b/sources/scalac/transformer/LambdaLiftPhase.java
@@ -47,7 +47,7 @@ public class LambdaLiftPhase extends PhaseDescriptor implements Kinds, Modifiers
global.log("transform info for " + sym + sym.locationString());
Type tp1 = tp;
if (sym != Symbol.NONE) {
- switch (sym.type()) {
+ switch (tp) {
case MethodType(_, _):
case PolyType(_, _):
tp1 = transform(tp, sym);