Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): 1.1.0
Current behavior
The function might return nil and dialyzer is not able to understand it the signature is @spec format(Test.t()) :: %{a: String.t(), b: String.t(), c: String.t()} | nil
Precheck
Environment
Elixir & Erlang/OTP versions (elixir --version): 1.12.3
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): 1.1.0
Current behavior
@spec format(Test.t()) :: %{a: String.t(), b: String.t(), c: String.t()} | nil
Expected behavior