diff options
author | Raimo Niskanen <[email protected]> | 2017-09-06 12:06:02 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-09-06 12:06:02 +0200 |
commit | 28759f8cbde480be7782bac9169eeb9e4fb60bce (patch) | |
tree | 7c5898dd60e290621ebddcd717ba1b071bb44513 /lib/dialyzer | |
parent | 5785903d249026b7698ae48bb6e154f5e2a36c9b (diff) | |
parent | 69e009e3e1ad899a4609ff327a08512c86dba374 (diff) | |
download | otp-28759f8cbde480be7782bac9169eeb9e4fb60bce.tar.gz otp-28759f8cbde480be7782bac9169eeb9e4fb60bce.tar.bz2 otp-28759f8cbde480be7782bac9169eeb9e4fb60bce.zip |
Merge pull request #1490 from josevalim/jv-gen-server-continue
Add {continue, Term} and handle_continue/2 to gen_server
Diffstat (limited to 'lib/dialyzer')
-rw-r--r-- | lib/dialyzer/test/behaviour_SUITE_data/results/gen_server_incorrect_args | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/test/behaviour_SUITE_data/results/gen_server_incorrect_args b/lib/dialyzer/test/behaviour_SUITE_data/results/gen_server_incorrect_args index 1eb8cd455b..1be0ce0d8c 100644 --- a/lib/dialyzer/test/behaviour_SUITE_data/results/gen_server_incorrect_args +++ b/lib/dialyzer/test/behaviour_SUITE_data/results/gen_server_incorrect_args @@ -1,5 +1,5 @@ gen_server_incorrect_args.erl:3: Undefined callback function handle_cast/2 (behaviour gen_server) gen_server_incorrect_args.erl:3: Undefined callback function init/1 (behaviour gen_server) -gen_server_incorrect_args.erl:7: The inferred return type of handle_call/3 ({'no'} | {'ok'}) has nothing in common with {'noreply',_} | {'noreply',_,'hibernate' | 'infinity' | non_neg_integer()} | {'reply',_,_} | {'stop',_,_} | {'reply',_,_,'hibernate' | 'infinity' | non_neg_integer()} | {'stop',_,_,_}, which is the expected return type for the callback of the gen_server behaviour +gen_server_incorrect_args.erl:7: The inferred return type of handle_call/3 ({'no'} | {'ok'}) has nothing in common with {'noreply',_} | {'noreply',_,'hibernate' | 'infinity' | non_neg_integer() | {'continue',_}} | {'reply',_,_} | {'stop',_,_} | {'reply',_,_,'hibernate' | 'infinity' | non_neg_integer() | {'continue',_}} | {'stop',_,_,_}, which is the expected return type for the callback of the gen_server behaviour gen_server_incorrect_args.erl:7: The inferred type for the 2nd argument of handle_call/3 ('boo' | 'foo') is not a supertype of {pid(),_}, which is expected type for this argument in the callback of the gen_server behaviour |