Closed deadtrickster closed 4 years ago
Has this been resolved by #189 or are there still typespec issues?
I think this one has been resolved @anthonator
Actually, #189 fixes DynamicSupervisor
's wrong specs. It still complains about Registry
one.
Expected:
{:ok, Keyword.t()}
Got:
:ignore
| {:ok,
{%{intensity: any, period: any, strategy: any}, [any]}
| %{
delta_crdt_options: %{
max_sync_size: any,
shutdown: any,
sync_interval: any
},
distribution_strategy: any,
keys: any,
listeners: any,
members: any,
meta: any
}}
| {:stop, {:bad_return, {atom, :init, any}}}
Anybody know how to suppress this warning until 381279c has been released?
Hey @anthonator
I'm using @dialyzer {:nowarn_function, init: 1}
to disable it inside my module.
Ah, nice! I was making this more complicated than it needed to be. Thank you!
Example: