Skip to content
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

exprecs dialyzer error if one record with one field #5

Open
ransomr opened this issue Jun 13, 2013 · 0 comments
Open

exprecs dialyzer error if one record with one field #5

ransomr opened this issue Jun 13, 2013 · 0 comments

Comments

@ransomr
Copy link

ransomr commented Jun 13, 2013

R16B

-module(exprecs_specs).
-compile({parse_transform, exprecs}).
-export_records([r]).
-record(r, {f}).

Proceeding with analysis...
exprecs_specs.erl:40: Invalid type specification for function exprecs_specs:'#pos-'/2. The success typing is ('r',atom()) -> 0 | 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant