public override void ResolveTypes(ModuleDefn global, ModuleDefn m)
 {
     foreach (Expression field in fields)
     {
         field.ResolveTypes(global, m);
     }
     fielddefs.ResolveTypes(global, m);
 }
 public override void ResolveTypes(ModuleDefn global, ModuleDefn m)
 {
     formals.ResolveTypes(global, m);
     body.ResolveTypes(global, m);
     rettype.Resolve(global, m);
 }