-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[erlang-server] Dialyzer spec #9983
Conversation
@sebastiw thanks for the PR. cc @lixen-wg2 as well. |
@sebastiw do you mind sharing the exact command to reproduce the above? |
sure |
@sebastiw thanks for the command but I couldn't repeat it locally in my Mac:
I don't see similar warnings. Are you seeing something similar to the above in your end? |
'no local return' actually means that the type checker expect that function to crash (no return from local context) |
I'll check in a bit when I've got my computer. |
ok here goes
|
Thanks for the info. I'm able to repeat it. Will use it to verify erlang-related changes moving forward. |
Dialyzer fails with success typing after #9946
Line 29 Column 2: Invalid type specification for function .._handler:init/2. The success typing is ...
@tsloughter @jfacorro @robertoaloi
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
,5.3.x
,6.0.x