@@ -29,7 +29,7 @@ object LambdaLift {
2929 private type SymSet = TreeSet [Symbol ]
3030
3131 /** A map storing free variables of functions and classes */
32- val free : mutable.LinkedHashMap [Symbol , SymSet ] = new LinkedHashMap [ Symbol , SymSet ]
32+ val free : mutable.LinkedHashMap [Symbol , SymSet ] = new LinkedHashMap
3333
3434 /** A map storing the free variable proxies of functions and classes.
3535 * For every function and class, this is a map from the free variables
@@ -56,7 +56,7 @@ object LambdaLift {
5656 private val outerParam = new HashMap [Symbol , Symbol ]
5757
5858 /** Buffers for lifted out classes and methods, indexed by owner */
59- val liftedDefs : mutable.HashMap [Symbol , mutable.ListBuffer [Tree ]] = new HashMap [ Symbol , mutable. ListBuffer [ Tree ]]
59+ val liftedDefs : mutable.HashMap [Symbol , mutable.ListBuffer [Tree ]] = new HashMap
6060
6161 /** A flag to indicate whether new free variables have been found */
6262 private [this ] var changedFreeVars : Boolean = _
@@ -516,7 +516,7 @@ class LambdaLift extends MiniPhase with IdentityDenotTransformer { thisPhase =>
516516 override def initContext (ctx : FreshContext ): Unit =
517517 Lifter = ctx.addLocation[Lifter ]()
518518
519- override def prepareForUnit (tree : Tree )(implicit ctx : Context ): FreshContext =
519+ override def prepareForUnit (tree : Tree )(implicit ctx : Context ): Context =
520520 ctx.fresh.updateStore(Lifter , new Lifter (thisPhase))
521521
522522 override def transformIdent (tree : Ident )(implicit ctx : Context ): Tree = {
0 commit comments