summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c5b396351e..a891aa0dc7 100644
--- a/sources/scalac/transformer/LambdaLiftPhase.java
+++ b/sources/scalac/transformer/LambdaLiftPhase.java
@@ -98,7 +98,7 @@ public class LambdaLiftPhase extends PhaseDescriptor implements Kinds, Modifiers
case ThisType(_):
if (sym.kind == CLASS &&
sym.primaryConstructor().isUpdated(nextPhase)) {
- Symbol[] tparams = sym.typeParams();
+ Symbol[] tparams = sym.primaryConstructor().nextInfo().typeParams();
int i = tparams.length;
while (i > 0 && (tparams[i-1].flags & SYNTHETIC) != 0)
i--;