anchor.diff:                                         occurrence=required, opts=[]}]}]).
   
   encode_packed_repeated_bools_test() ->
  -    <<16#20,1,1>> =
  +    <<16#22,1,1>> =
           encode_msg(#m1{a=[true]},
                      [{{msg,m1},[#field{name=a,fnum=4,rnum=#m1.a, type=bool,
                                         occurrence=repeated, opts=[packed]}]}]).
  
positive.code:                                       occurrence=repeated, opts=[]}]}]).
  
  encode_repeated_nonempty_field_test() ->
      <<8,4, 150,1, 151,1>> =
          encode_msg(#m1{a=[150,151]},
                     [{{msg,m1},[#field{name=a,fnum=1,rnum=#m1.a, type=int32,
                                        occurrence=repeated, opts=[packed]}]}]),
  
negative.code:             <<>>;
          Elems ->
              PackedFields = encode_packed_2(Elems, Type, MsgDefs, <<>>),
              <<(encode_fnum_type(FNum, bytes))/binary,
                (encode_varint(size(PackedFields)))/binary,
                PackedFields/binary>>
      end.
  