From b56a6d699c9003e8412955fe16159351578cf92b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 13 Aug 2003 10:53:30 +0000 Subject: *** empty log message *** --- sources/scalac/transformer/LambdaLiftPhase.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sources/scalac/transformer/LambdaLiftPhase.java') diff --git a/sources/scalac/transformer/LambdaLiftPhase.java b/sources/scalac/transformer/LambdaLiftPhase.java index 3406fb2236..f6f986e626 100644 --- a/sources/scalac/transformer/LambdaLiftPhase.java +++ b/sources/scalac/transformer/LambdaLiftPhase.java @@ -98,12 +98,6 @@ public class LambdaLiftPhase extends PhaseDescriptor implements Kinds, Modifiers case ThisType(_): if (sym.kind == CLASS && sym.primaryConstructor().isUpdated(nextPhase)) { - // !!! For some Java classes, - // Symbol.constructor() returns an Overloaded - // symbol. This is wrong as constructor() - // should return the primary constructor. Once - // this problem is solved, the following - // switch can be removed. Type constrtype = sym.primaryConstructor().infoAt(nextPhase); Symbol[] tparams; switch (constrtype) { -- cgit v1.2.3