diff options
Diffstat (limited to 'sources/scalac/transformer/LambdaLiftPhase.java')
-rw-r--r-- | sources/scalac/transformer/LambdaLiftPhase.java | 2 |
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); |