diff options
Diffstat (limited to 'sources/scalac/ast/LazyTreeCopier.java.tmpl')
-rw-r--r-- | sources/scalac/ast/LazyTreeCopier.java.tmpl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sources/scalac/ast/LazyTreeCopier.java.tmpl b/sources/scalac/ast/LazyTreeCopier.java.tmpl index 31608580ab..8da7facf2a 100644 --- a/sources/scalac/ast/LazyTreeCopier.java.tmpl +++ b/sources/scalac/ast/LazyTreeCopier.java.tmpl @@ -19,13 +19,18 @@ public class LazyTreeCopier implements TreeCopier { //######################################################################## // Protected Fields - protected final TreeFactory make; + /** The tree copier used to copy trees */ + protected final TreeCopier copier; //######################################################################## // Public Constructors public LazyTreeCopier(TreeFactory make) { - this.make = make; + this(new StrictTreeCopier(make)); + } + + public LazyTreeCopier(TreeCopier copier) { + this.copier = copier; } //######################################################################## |