Failing run dialyzer


using elixir 1.12.x i have a compilation error running mix dialyzer and the problem seems to be the list of warning options passed to @dialyzer.

Using this sample module (just to force warnings), it is possible to reproduce it:

defmodule Sample do
  @dialyzer {[:no_return, :no_contracts, :no_fail_call], hello: 0}
  def hello do
    default("1", 1)

  @spec default(binary, binary) :: binary
  def default(something, _something2) do
    case something do
      "1" -> "hello"
      _ -> raise "oops"

Running mix dialyzer:

== Compilation error in file lib/sample.ex ==
** (ArgumentError) invalid value for @dialyzer attribute: {[:no_return, :no_contracts, :no_fail_call], [hello: 0]}
    (elixir 1.12.3) lib/module.ex:2193: anonymous fn/1 in Module.preprocess_attribute/2
    (stdlib lists.erl:1342: :lists.foreach/2
    (elixir 1.12.3) lib/module.ex:2190: Module.preprocess_attribute/2
    (elixir 1.12.3) lib/module.ex:2022: Module.__put_attribute__/4
    lib/sample.ex:2: (module)

With elixir 1.11.x, the code compiles successfully.

Am i wrong something?