diff options
-rw-r--r-- | sources/scalac/ast/TreeCloner.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sources/scalac/ast/TreeCloner.java b/sources/scalac/ast/TreeCloner.java index 35d55fb247..8d96c1b23e 100644 --- a/sources/scalac/ast/TreeCloner.java +++ b/sources/scalac/ast/TreeCloner.java @@ -1,6 +1,6 @@ /* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** -** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** +** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002-2005, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** \* */ @@ -13,8 +13,8 @@ import java.util.Map; import scalac.Global; import scalac.symtab.Symbol; import scalac.symtab.SymbolCloner; -import scalac.symtab.Type; import scalac.symtab.SymbolSubstTypeMap; +import scalac.symtab.Type; import scalac.util.Debug; /** @@ -108,6 +108,11 @@ public class GenTreeCloner extends GenTransformer { this.cloner = cloner; } + public GenTreeCloner(Global global, SymbolCloner cloner) { + super(global, cloner.getTypeMap()); + this.cloner = cloner; + } + //######################################################################## // Public Methods |