From 71557bc2da65fe25800b40320eac3ef642cf1ee3 Mon Sep 17 00:00:00 2001 From: paltherr Date: Sat, 26 Jul 2003 10:26:12 +0000 Subject: - Added contructor with SymbolSubstTypeMap --- sources/scalac/ast/TreeCloner.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sources/scalac') diff --git a/sources/scalac/ast/TreeCloner.java b/sources/scalac/ast/TreeCloner.java index 7c77a45132..6b784d7d98 100644 --- a/sources/scalac/ast/TreeCloner.java +++ b/sources/scalac/ast/TreeCloner.java @@ -13,6 +13,7 @@ import java.util.Map; import scalac.Global; import scalac.symtab.Symbol; import scalac.symtab.Type; +import scalac.symtab.SymbolSubstTypeMap; import scalac.util.Debug; /** @@ -33,6 +34,11 @@ public class TreeCloner extends Transformer { //######################################################################## // Public Constructors + /** Initializes a new instance. */ + public TreeCloner(Global global, SymbolSubstTypeMap types) { + this(global, types.getSymbols(), types); + } + /** Initializes a new instance. */ public TreeCloner(Global global, Map symbols, Type.Map types) { super(global, global.make, new StrictTreeCopier(global.make)); -- cgit v1.2.3