Closed RichMorin closed 5 years ago
Elixir & Erlang/OTP versions (elixir --version):
$ elixir --version Erlang/OTP 22 [erts-10.4.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace] Elixir 1.9.0 (compiled with Erlang/OTP 22)
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir):
$ cat mix.lock | grep dialyxir "dialyxir": {:hex, :dialyxir, "1.0.0-rc.6", "78e97d9c0ff1b5521dd68041193891aebebce52fc3b93463c0a6806874557d7d", [:mix], [{:erlex, "~> 0.2.1", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm"},
When I run mix dialyzer.explain, with or without an argument, the following warning is displayed:
mix dialyzer.explain
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
No warning message should be displayed.
The current Master seems to fix this. Using that now...
Environment
Elixir & Erlang/OTP versions (elixir --version):
$ elixir --version Erlang/OTP 22 [erts-10.4.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace] Elixir 1.9.0 (compiled with Erlang/OTP 22)
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir):
$ cat mix.lock | grep dialyxir "dialyxir": {:hex, :dialyxir, "1.0.0-rc.6", "78e97d9c0ff1b5521dd68041193891aebebce52fc3b93463c0a6806874557d7d", [:mix], [{:erlex, "~> 0.2.1", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm"},
Current behavior
When I run
mix dialyzer.explain
, with or without an argument, the following warning is displayed:Expected behavior
No warning message should be displayed.