-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Wrong type spec for '#is_record-'/1,2 funs generated by exprecs #9
Comments
If rewrite spec like this then warning is disappears: -spec '#is_record-'(#doc{} | #author{} | any()) -> boolean(). But not quite sure that this is make sense. If you suggest any acceptable solution I would love to send you fix. |
Forget to mention, erlang R15B02 |
Seems that I am looking into wrong repo, this was fixed in esl's repo: |
Reminds me that the repos had gotten out of sync. Will try to address that. Thanks. |
What confused me that on esl's page it is written that originally that was forked from here, that is why I took this repo as a main. |
Generated spec for '#is_record'/1 is looks like:
This from dialyzers perspective look like:
Seems that
any()
type in last clause overlaps previous clauses. Same for'#is_record-'/2
.The text was updated successfully, but these errors were encountered: