anchor.diff:      end;
   decode_field(MsgDef, _MsgDefs, <<>>, {MsgName, Fields}) ->
       %% Reverse any repeated fields.
  -    RepeatedFNames = [N || #field{name=N, multiplicity=repeated} <- MsgDef],
  +    RepeatedFNames = [N || #field{name=N, occurrence=repeated} <- MsgDef],
       {MsgName, lists:foldl(fun(FName, Acc) ->
                                     OldValue = keyfetch(FName, Acc),
                                     NewValue = lists:reverse(OldValue),
  
positive.code:     MsgDef = keyfetch(MsgName, MsgDefs),
      {MsgName,
       lists:foldl(
         fun(#field{name=FName, multiplicity=repeated}, AccFields) ->
                 PrevSeq = keyfetch(FName, AccFields),
                 NewSeq = keyfetch(FName, NewFields),
                 replace_field(FName, append_seqs(PrevSeq, NewSeq), AccFields);
  
negative.code: -include_lib("eunit/include/eunit.hrl").
  
  -record(field,
          {name, fnum, type, occurrence, opts}).
  
  decode_msg(MsgName, MsgDefs, Bin) ->
      Msg    = new_default_msg(MsgName, MsgDefs),
  