anchor.diff:        }
   
         // end of the mixin class
  -      buffer.write('}');
  +      buffer.writeln('}');
       }
   
       return buffer.toString();
  
positive.code: 
      // Sort these in the order in which they appear in the class
      // Sadly, `classElement.fields` puts properties after fields
      fieldsList.sort((FieldElement a, FieldElement b) {
        int offsetFor(FieldElement e) {
          if (e.getter != null && e.getter.nameOffset != e.nameOffset) {
            assert(e.nameOffset == -1);
            return e.getter.nameOffset;
          }
          return e.nameOffset;
        }
  
        return offsetFor(a).compareTo(offsetFor(b));
      });
  
      // Explicitly using `LinkedHashMap` – we want these ordered.
      var fields = new LinkedHashMap<String, FieldElement>.fromIterable(
  
negative.code: final _jsonKeyExpando = new Expando<JsonKey>();
  
  final _jsonKeyChecker = new TypeChecker.fromRuntime(JsonKey);
  
  /// Returns the offset of given field/property in its source file – with a
  /// preference for the getter if it's defined.
  int _offsetFor(FieldElement e) {
    if (e.getter != null && e.getter.nameOffset != e.nameOffset) {
      assert(e.nameOffset == -1);
      return e.getter.nameOffset;
    }
    return e.nameOffset;
  }
  