summaryrefslogtreecommitdiff
path: root/sources/scalac/transformer
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-02-14 13:38:50 +0000
committerMartin Odersky <odersky@gmail.com>2003-02-14 13:38:50 +0000
commitfd3f10df3cd88fe3b970f8312a479ae63f0803b8 (patch)
tree4417d42a8b7a1a326c1eab8dcb867a9de7c90659 /sources/scalac/transformer
parent23d2bfbeb21f63d82ed46d5b1b0b85b1ed2f4355 (diff)
downloadscala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.tar.gz
scala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.tar.bz2
scala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.zip
*** empty log message ***
Diffstat (limited to 'sources/scalac/transformer')
-rw-r--r--sources/scalac/transformer/LambdaLift.java4
-rw-r--r--sources/scalac/transformer/LambdaLiftPhase.java1
2 files changed, 2 insertions, 3 deletions
diff --git a/sources/scalac/transformer/LambdaLift.java b/sources/scalac/transformer/LambdaLift.java
index 56cc92e6de..ca37e43996 100644
--- a/sources/scalac/transformer/LambdaLift.java
+++ b/sources/scalac/transformer/LambdaLift.java
@@ -183,7 +183,7 @@ public class LambdaLift extends OwnerTransformer
};
public Tree transform(Tree tree) {
- global.debugPrinter.print("free ").print(tree).println().end();//debug
+ //global.debugPrinter.print("free ").print(tree).println().end();//DEBUG
traverseTypeMap.apply(tree.type.widen());
Symbol sym = tree.symbol();
switch(tree) {
@@ -287,7 +287,7 @@ public class LambdaLift extends OwnerTransformer
}
public Tree transform(Tree tree) {
- global.debugPrinter.print("lifting ").print(tree).println().end();//debug
+ //global.debugPrinter.print("lifting ").print(tree).println().end();//DEBUG
tree.type = descr.transform(tree.type, currentOwner);
switch (tree) {
case ClassDef(int mods, Name name, TypeDef[] tparams, ValDef[][] vparams, Tree tpe, Template impl):
diff --git a/sources/scalac/transformer/LambdaLiftPhase.java b/sources/scalac/transformer/LambdaLiftPhase.java
index 31d9eea2a8..d3ca99b43d 100644
--- a/sources/scalac/transformer/LambdaLiftPhase.java
+++ b/sources/scalac/transformer/LambdaLiftPhase.java
@@ -64,7 +64,6 @@ public class LambdaLiftPhase extends PhaseDescriptor implements Kinds, Modifiers
switch (pre) {
case ThisType(_):
if (sym.constructor().isUpdated(nextPhase)) {
- System.out.println("updated: " + sym.constructor());//debug
Symbol[] tparams =
sym.constructor().infoAt(nextPhase).typeParams();
int i = tparams.length;