-
Notifications
You must be signed in to change notification settings - Fork 3
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
Infer functions fail to typecheck (functions don't exist) #11
Comments
Upon further inspection, seems like this line is the culprit: Line 14 in 65beb86
It breaks dialyzer's analysis:
This breakage in turn results in dialyzer not finding any function (or callback info for builtin and 3rd-party library behaviours); here's is excerpt of dialyzer's output from our application:
Success typing should be: @type matcher_fun() :: (binary() -> boolean()) |
@smaximov thank you for looking into this. I will prepare a PR and merge it ASAP! 🤝 |
Closed in #12 |
Consider the following minimal example (or see the repo):
When running
dialyzer
(viadialyxir
v1.4.2), it fails with errors:I must admit I have no idea why it happens. I thought that it has something to do with the infer's project config, so I looked at
mix.exs
but didn't find anything suspicious.The text was updated successfully, but these errors were encountered: