Closed lud closed 5 days ago
The current spec is:
%% @doc Stop `Server'. -spec stop(Server :: atom()) -> {stop, normal, ok, state()}. stop(S) -> gen_server:call(S, stop).
Shouldn't it be just:
-spec stop(Server :: atom() | pid()) -> ok.
It should. dialyzer isn't able to pick it up because the execution sits behind gen_server.
dialyzer
gen_server
The current spec is:
Shouldn't it be just: