anchor.diff:  
   let private buildVarsMap (scope:Ast.FuncScope) =
   
  -  let (|Parameter|Local|) (l:Ast.LocalVar) = 
  -    if Ast.Local.isParameter l then Parameter else Local
  +  let (|Parameter|Local|) (lv:Ast.LocalVar) = 
  +    if Ast.Local.isParameter lv then Parameter else Local
   
  -  let (|NeedProxy|Not|) (l:Ast.LocalVar) =
  -    if Ast.Local.needsProxy l then NeedProxy else Not
  +  let (|NeedProxy|Not|) (lv:Ast.LocalVar) =
  +    if Ast.Local.needsProxy lv then NeedProxy else Not
   
     let createVar (l:Ast.LocalVar) =
       let clrTyp = Utils.Type.jsToClr l.UsedAs
  
positive.code:     Expr.param (sprintf "%s_proxy" l.Name) scope.ArgTypes.[l.Index]
  
    scope.LocalVars
      |> Map.map(fun _ l -> 
                  match l with
                  | Parameter -> 
                    match l with
                    | NeedProxy -> Proxied(createVar l, createProxy l)
                    | Not -> Variable(createVar l, P)
                  | Local -> 
                    Variable(createVar l, L)
                )
  
  let private isLocal (_, v:Var) =
  
negative.code:     ctx.Scope.LocalVars
        |> Map.toSeq
        |> Seq.map (fun pair -> snd pair)
        |> Seq.filter (fun lv -> Ast.Local.isClosedOver lv)
        |> Seq.filter (fun lv -> not (Ast.Local.needsProxy lv))
        |> Seq.map (fun lv -> 
             let expr = ctx.LocalExpr lv.Name
             Expr.assign expr (Expr.new' expr.Type) 
           )
        #if DEBUG
  