anchor.diff:  %%  Check if a record exists.  Set State.
   
   exist_record(Line, Name, St) ->
  -    case dict:is_key(Name, St#lint.records) of
  +    case is_map_key(Name, St#lint.records) of
           true -> used_record(Name, St);
           false -> add_error(Line, {undefined_record,Name}, St)
       end.
  
positive.code:     end.
  
  add_missing_spec_warnings(Forms, St0, Type) ->
      Specs = [{F,A} || {_M,F,A} <- dict:fetch_keys(St0#lint.specs)],
      Warns = %% functions + line numbers for which we should warn
  	case Type of
  	    all ->
  
negative.code:     end.
  
  check_record_types(Line, Name, Fields, SeenVars, St) ->
      case maps:find(Name, St#lint.records) of
          {ok,{_L,DefFields}} ->
  	    case lists:all(fun({type, _, field_type, _}) -> true;
  			      (_) -> false
  