anchor.diff:                             end,
                   DefaultStr = case proplists:get_value(default, FOpts, '$no') of
                                    '$no' ->
  -                                     case {Occur, MapsOrRecords} of
  -                                         {repeated, records} -> ?f(" = []");
  -                                         _        -> ""
  +                                     case {Type, Occur, MapsOrRecords} of
  +                                         {{map,_,_}, repeated, records} ->
  +                                             case MapTypeFieldsRepr of
  +                                                 maps ->
  +                                                     ?f(" = #{}");
  +                                                 '2tuples' ->
  +                                                     ?f(" = []")
  +                                             end;
  +                                         {_, repeated, records} ->
  +                                             ?f(" = []");
  +                                         _ ->
  +                                             ""
                                        end;
                                    Default ->
                                        case MapsOrRecords of
  
positive.code: is_target_major_version_at_least(VsnMin, Opts) ->
      case proplists:get_value(target_erlang_version, Opts, current) of
          current ->
              is_current_major_version_at_least(VsnMin); 
          N when is_integer(N) ->
              N >= VsnMin
      end.
  
negative.code:                                 find_last_nonopt_field_index(Fields)
                          end
                  end,
      MapTypeFieldsRepr = get_2tuples_or_maps_for_maptype_fields_by_opts(Opts),
      string:join(
        lists:map(
          fun({I, #?gpb_field{name=Name, fnum=FNum, opts=FOpts, type=Type,
                              occurrence=Occur}=Field}) ->
                  TypeSpecifierSep = calc_field_type_sep(Field, Opts),
                  LineLead = if MappingAndUnset == {maps, omitted},
  