-
-
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
'exprec' fails to process empty records #2
Comments
Hmm, :) Thanks. I'll take a look at this a bit later on. BR, Den 11 mars 2012 12:27 skrev Sergei Lebedev <
|
And what was wrong? |
I haven't fixed it yet. The problem is that the function '#pos-'(Rec, Attr) will never return for an empty record. The code that generates a type signature for all possible return values was not prepared for that. |
I'd the same problem with parse_transform (https://github.com/w495/erlang_decorators), but I've solved it with |
run rebar3 eunit in travis By adding a `test` profile that at least compiles the `examples` code, CI is improved a bit more.
I know the example bellow doesn't make much sense, but anyway:
... results in the following error with the latest version of
parse_trans
and Erlang R15B:The text was updated successfully, but these errors were encountered: