From 6749e5dd658522cb63600021a9ee5a86f911cfeb Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 3 Mar 2003 14:33:53 +0000 Subject: *** empty log message *** --- sources/scalac/transformer/LambdaLiftPhase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources/scalac/transformer/LambdaLiftPhase.java') diff --git a/sources/scalac/transformer/LambdaLiftPhase.java b/sources/scalac/transformer/LambdaLiftPhase.java index 4b86c37acf..1960175ae8 100644 --- a/sources/scalac/transformer/LambdaLiftPhase.java +++ b/sources/scalac/transformer/LambdaLiftPhase.java @@ -64,7 +64,7 @@ public class LambdaLiftPhase extends PhaseDescriptor implements Kinds, Modifiers case TypeRef(Type pre, Symbol sym, Type[] targs): switch (pre) { case ThisType(_): - if (sym.constructor().isUpdated(nextPhase)) { + if (sym.kind == CLASS && sym.constructor().isUpdated(nextPhase)) { Symbol[] tparams = sym.constructor().infoAt(nextPhase).typeParams(); int i = tparams.length; -- cgit v1.2.3