-
Notifications
You must be signed in to change notification settings - Fork 225
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
Running dialiyzer
with rustler
0.30.0 results in "The pattern can never match the type""
#569
Comments
I looked at the diff between 0.29.0 and 0.30.0 and couldn't find anything strange. I wonder if this might be a bug in |
I think this is called by this change. Dialyzer is technically right, the case will always access only one of the clauses, as this is hardcoded into the module. Note that this happens exactly once when loading the library, so this should not really be an issue. I see two options:
|
@neosimsim can you give #570 a try? |
That works. Thanks. |
This issue, rusterlium/rustler#569, is already fixed by 570 but still not released.
Running
dialiyzer
withrustler
0.30.0 fails with "The pattern can never match the type"The same works with
rustler
0.29.0.Here is the an example module file that fails.
The text was updated successfully, but these errors were encountered: