gen_retry icon indicating copy to clipboard operation
gen_retry copied to clipboard

Use existing supervisor type instead of pid for Supervised Tasks

Open devstopfix opened this issue 5 years ago • 0 comments

Removes Dialyzer warning:

The call
 'Elixir.XXX.Task.Supervisor':async_nolink('Elixir.XXX.Supervisor',_f@1::fun(() -> any()),[{'retries', 3}])

breaks the contract
  (pid(),'Elixir.GenRetry':retryable_fun(),'Elixir.GenRetry':options()) -> #{'__struct__':='Elixir.Task','owner':=term(),'pid':=term(),'ref':=term()}

Drop Elixir 1.7 as type is missing during release of 1.6 and 1.7

devstopfix avatar Oct 01 '19 16:10 devstopfix