anchor.diff:                       end),
       {Vt1,[],St1};
   pattern({record,Line,Name,Pfs}, Vt, Old, Bvt, St) ->
  -    case dict:find(Name, St#lint.records) of
  +    case maps:find(Name, St#lint.records) of
           {ok,{_Line,Fields}} ->
               St1 = used_record(Name, St),
               pattern_fields(Pfs, Name, Fields, Vt, Old, Bvt, St1);
  
positive.code:     case [File || {attribute,_L,file,{File,_Line}} <- Forms] of
  	[FirstFile|_] ->
  	    D = Usage#usage.used_types,
  	    L = gb_sets:to_list(ExpTs) ++ dict:fetch_keys(D),
  	    UsedTypes = gb_sets:from_list(L),
  	    FoldFun =
                  fun({{record, _}=_Type, 0}, _, AccSt) ->
  
negative.code: check_callback_information(#lint{callbacks = Callbacks,
                                   optional_callbacks = OptionalCbs,
  				 defined = Defined} = St0) ->
      OptFun = fun(MFA, Line, St) ->
                       case is_map_key(MFA, Callbacks) of
                           true ->
                               St;
                           false ->
                               add_error(Line, {undefined_callback, MFA}, St)
                       end
               end,
      St1 = maps:fold(OptFun, St0, OptionalCbs),
      case gb_sets:is_member({behaviour_info, 1}, Defined) of
  	false -> St1;
  	true ->
  	    case map_size(Callbacks) of
  		0 -> St1;
  		_ ->
                      FoldFun =
  			fun(Fa, Line, St) ->
  				add_error(Line, {behaviour_info, Fa}, St)
  			end,
                      maps:fold(FoldFun, St1, Callbacks)
  	    end
      end.
  
  