summaryrefslogtreecommitdiff
path: root/sources/scalac/ast/TreeGen.java
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac/ast/TreeGen.java')
-rw-r--r--sources/scalac/ast/TreeGen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/scalac/ast/TreeGen.java b/sources/scalac/ast/TreeGen.java
index 0dc210e2ae..987bf8b743 100644
--- a/sources/scalac/ast/TreeGen.java
+++ b/sources/scalac/ast/TreeGen.java
@@ -262,6 +262,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags {
/** Builds a reference corresponding to given symbol. */
public Tree mkRef(int pos, Symbol sym) {
+ //System.out.println("mkref " + sym.owner().thisType() + " . " + sym);//DEBUG
return mkRef(pos, sym.owner().thisType(), sym);
}
@@ -405,7 +406,7 @@ public class TreeGen implements Kinds, Modifiers, TypeTags {
global.prevPhase();
return mkApplyTV(pos, mkRef(pos, constr), targs, vargs);
}
- public Tree mkPrimaryConstr(int pos, Symbol clazz,Type[]targs,Tree[]vargs){
+ public Tree mkPrimaryConstr(int pos, Symbol clazz, Type[]targs, Tree[]vargs){
return mkPrimaryConstr(pos,clazz.owner().thisType(),clazz,targs,vargs);
}