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
{{ message }}
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.
Timber.add_context has the typespec @spec add_context(map()) :: :ok, even though the function also accepts a keyword list as parameter.
This causes Dialyzer to throw misleading warnings:
The call 'Elixir.Timber':add_context([{'origin','tracker'},...]) will never return since the success typing is (map()) -> 'ok' and the contract is (map()) -> 'ok'
The text was updated successfully, but these errors were encountered:
Timber.add_context
has the typespec@spec add_context(map()) :: :ok
, even though the function also accepts a keyword list as parameter.This causes Dialyzer to throw misleading warnings:
The text was updated successfully, but these errors were encountered: