jeremyjh / dialyxir

Mix tasks to simplify use of Dialyzer in Elixir projects.
Apache License 2.0
1.7k stars 140 forks source link

Warning when running mix dialyzer.explain #354

Closed RichMorin closed 5 years ago

RichMorin commented 5 years ago

Environment

Current behavior

When I run mix dialyzer.explain, with or without an argument, the following warning is displayed:

warning: not passing the :switches or :strict option to OptionParser is deprecated
  (elixir) lib/option_parser.ex:607: OptionParser.build_config/1
  (elixir) lib/option_parser.ex:231: OptionParser.parse/2
  lib/mix/tasks/dialyzer/explain.ex:22: Mix.Tasks.Dialyzer.Explain.run/1
  (mix) lib/mix/task.ex:331: Mix.Task.run_task/3
  (mix) lib/mix/cli.ex:79: Mix.CLI.run_task/2

Expected behavior

No warning message should be displayed.

RichMorin commented 5 years ago

The current Master seems to fix this. Using that now...