anchor.diff:            if (type.nullable) {
               b.ref_null(heapType);
             } else {
  -            b.global_get(prepareDummyValue(type)!);
  +            b.global_get(_prepareDummyValue(type)!);
             }
           } else {
             throw "Unsupported global type ${type} ($type)";
  
positive.code:   ///
    /// Note that [getGlobal] must have been called for the field beforehand.
    w.Global? getGlobalInitializedFlag(Field variable) {
      return globalInitializedFlag[variable];
    }
  
    /// Emit code to read a static field.
    w.ValueType readGlobal(w.Instructions b, Field variable) {
      w.Global global = getGlobal(variable);
      w.BaseFunction? initFunction = globalInitializers[variable];
      if (initFunction == null) {
        // Statically initialized
        b.global_get(global);
        return global.type.type;
      }
      w.Global? flag = globalInitializedFlag[variable];
      if (flag != null) {
        // Explicit initialization flag
        assert(global.type.type == initFunction.type.outputs.single);
  
negative.code:   /// field.
    w.Global getGlobal(Field variable) {
      assert(!variable.isLate);
      return _globals.putIfAbsent(variable, () {
        w.ValueType type = translator.translateType(variable.type);
        Constant? init = _getConstantInitializer(variable);
        if (init != null &&
  