anchor.diff:      run_plt(State, Plt, plt_add, Files).
   
   run_plt(State, Plt, Analysis, Files) ->
  +    GetWarnings = rebar_state:get(State, dialyzer_plt_warnings, false),
       Opts = [{analysis_type, Analysis},
  +            {get_warnings, GetWarnings},
               {init_plt, Plt},
               {from, byte_code},
               {files, Files}],
  
positive.code: 
  run_dialyzer(State, Opts) ->
      Warnings = rebar_state:get(State, dialyzer_warnings, default_warnings()),
      Opts2 = [{get_warnings, true},
               {warnings, Warnings} |
               Opts],
      _ = [?CONSOLE(format_warning(Warning), [])
           || Warning <- dialyzer:run(Opts2)],
      {ok, State}.
  
negative.code: 
  build_plt(State, Plt, Files) ->
      ?INFO("Adding ~b files to ~p...", [length(Files), Plt]),
      GetWarnings = rebar_state:get(State, dialyzer_plt_warnings, false),
      Opts = [{analysis_type, plt_build},
              {get_warnings, GetWarnings},
              {output_plt, Plt},
              {files, Files}],
      run_dialyzer(State, Opts).
  