From e414d903e348ffbb5de6b999ca995d28660dac97 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Thu, 5 Feb 2004 10:03:07 +0000 Subject: - Do not mark lifted functions as 'final' - it'... - Do not mark lifted functions as 'final' - it's an implementation detail and should be done in AddInterfaces. --- sources/scalac/transformer/LambdaLift.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/scalac/transformer/LambdaLift.java b/sources/scalac/transformer/LambdaLift.java index af9278bcac..7129d5bdab 100644 --- a/sources/scalac/transformer/LambdaLift.java +++ b/sources/scalac/transformer/LambdaLift.java @@ -573,7 +573,7 @@ public class LambdaLift extends OwnerTransformer case DefDef(_, _, _, _, _, _): ((DefDef) tree).mods |= LIFTED; Symbol sym = tree.symbol(); - sym.flags |= LIFTED | PRIVATE | FINAL; + sym.flags |= LIFTED | PRIVATE; assert sym.isLocal() : sym; liftSymbol( sym, get(free.ftvs, sym).toArray(), -- cgit v1.2.3