internal static VarDecl Bound(LocalSymbol loc, Expr initializer, BindOptions opt)
 {
     return(new VarDecl(null, null, null, null, AssignExpr.Bound(IdExpr.Bound(loc), initializer, opt))
     {
         Symbol = loc
     });
 }
 internal override Node Bind(Binder b)
 {
     b.CreatesAutoVars = true;
     Symbol            = b.AddMemvar(Name);
     if (Initializer != null)
     {
         b.Bind(ref Initializer);
         Initializer.RequireGetAccess();
         b.Convert(ref Initializer, Var.Type);
         Initializer = AssignExpr.Bound(IdExpr.Bound(Var), Initializer, b.Options.Binding);
     }
     return(null);
 }