summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer/LambdaLiftPhase.java
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-08-13 10:53:30 +0000
committerMartin Odersky <odersky@gmail.com>2003-08-13 10:53:30 +0000
commitb56a6d699c9003e8412955fe16159351578cf92b (patch)
treeab307d835a9502c40570939537cc5cc6901d5ca3 /sources/scalac/transformer/LambdaLiftPhase.java
parent1bbbb4c44fc0ea2fd36d18b579474efb7641fd09 (diff)
downloadscala-b56a6d699c9003e8412955fe16159351578cf92b.tar.gz
scala-b56a6d699c9003e8412955fe16159351578cf92b.tar.bz2
scala-b56a6d699c9003e8412955fe16159351578cf92b.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer/LambdaLiftPhase.java')
-rw-r--r--sources/scalac/transformer/LambdaLiftPhase.java6
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) {