You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elixir: Elixir 1.9.0 (compiled with Erlang/OTP 20)
Dialyxir version: 1.0.0
Current behavior
Attempting to call a function on nil is failing to parse
mix dialyzer output:
Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.
Failed to parse warning:
[]
Legacy warning:
:0: Unknown function nil:dataloader_query/2
I had a compile-time configuration that referenced a module and I had set it for :test but not for other environments. So my tests passed but dialyzer (rightly!) complained about me trying to call nil.some_function() in which nil was my missing module reference in the config.
Environment
Erlang: Erlang/OTP 23
Elixir: Elixir 1.9.0 (compiled with Erlang/OTP 20)
Dialyxir version: 1.0.0
Current behavior
Attempting to call a function on nil is failing to parse
mix dialyzer
output:mix dialyzer --format raw
output:The text was updated successfully, but these errors were encountered: