diff options
Diffstat (limited to 'sources/scalac/ast/LazyTreeFactory.java')
-rw-r--r-- | sources/scalac/ast/LazyTreeFactory.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sources/scalac/ast/LazyTreeFactory.java b/sources/scalac/ast/LazyTreeFactory.java index 26f5f9a98f..4f81a103f8 100644 --- a/sources/scalac/ast/LazyTreeFactory.java +++ b/sources/scalac/ast/LazyTreeFactory.java @@ -123,15 +123,13 @@ public class LazyTreeFactory extends AbstractTreeCopyFactory { public Tree TypeDef(Tree tree, int mods, Name name, - TypeDef[] tparams, Tree rhs) { TypeDef t = (TypeDef)tree; if ((t.mods == mods) && (t.name == name) && - (t.tparams == tparams) && (t.rhs == rhs)) return t; - tree = make.TypeDef(t.pos, mods, name, tparams, rhs); + tree = make.TypeDef(t.pos, mods, name, rhs); attribute(tree, t); return tree; } @@ -351,6 +349,10 @@ public class LazyTreeFactory extends AbstractTreeCopyFactory { return tree; } + public Tree TypeTerm(Tree tree) { + return tree; + } + public Tree SingletonType(Tree tree, Tree ref) { SingletonType t = (SingletonType)tree; |