anchor.diff:      valuesField.initializer = new ast.ListLiteral(
           enumConstantFields.map(_makeStaticGet).toList(),
           isConst: true,
  -        typeArgument: enumType);
  +        typeArgument: enumType)..parent = valuesField;
       classNode.addMember(valuesField);
       // TODO: Add the toString method.
     }
  
positive.code:     List<ast.DartType> inferTypeArguments() {
        var inferredType = scope.getInferredType(node);
        if (inferredType is ast.InterfaceType) {
          return inferredType.typeArguments;
        }
        var classElement = element?.enclosingElement;
        int numberOfTypeArguments =
  
negative.code:       ast.Field field = scope.getMemberReference(constant.element);
        field.initializer = new ast.ConstructorInvocation(
            constructor, new ast.Arguments([new ast.IntLiteral(index)]),
            isConst: true)..parent = field;
        field.type = new ast.InterfaceType(classNode);
        classNode.addMember(field);
        ++index;
  