diff options
Diffstat (limited to 'sources/scalac/transformer/ExpandMixinsPhase.java')
-rw-r--r-- | sources/scalac/transformer/ExpandMixinsPhase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scalac/transformer/ExpandMixinsPhase.java b/sources/scalac/transformer/ExpandMixinsPhase.java index 261c52354b..575a01c959 100644 --- a/sources/scalac/transformer/ExpandMixinsPhase.java +++ b/sources/scalac/transformer/ExpandMixinsPhase.java @@ -317,7 +317,7 @@ public class ExpandMixinsPhase extends Phase { assert clasz.isClass() && !clasz.isInterface(): Debug.show(clasz); TypeTransformer transformer =(TypeTransformer)transformers.get(clasz); if (transformer == null) { - transformer = new TypeTransformer(global, clasz); + transformer = new TypeTransformer(clasz); transformers.put(clasz, transformer); } return transformer; @@ -357,9 +357,9 @@ public class ExpandMixinsPhase extends Phase { public final SymbolCloner cloner; public final Map/*<Symbol,Type>*/ inlines; - public TypeTransformer(Global global, Symbol clasz) { + public TypeTransformer(Symbol clasz) { this.clasz = clasz; - this.cloner = new SymbolCloner(global.freshNameCreator); + this.cloner = new SymbolCloner(); this.inlines = new HashMap(); initialize(); } |