diff options
Diffstat (limited to 'sources/scalac/transformer/LambdaLiftPhase.java')
-rw-r--r-- | sources/scalac/transformer/LambdaLiftPhase.java | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |