-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Dialyzer error when specifying Queries in module attributes in compiled helpers #542
Comments
Thanks for the repro repository! I'll look into it - I am familiar with Wallaby codebase and I have some experience fixing dialyzer in application code. So far I have been ignoring dialyzer issues in my projects wallaby tests - this is a good starting point to change this :) |
@TheFirstAvenger This should be fixed on master now, to confirm you can try it out by specifying |
I can publish a patch release once you've confirmed it works @TheFirstAvenger. Thanks for taking the time to open an issue and create a bug demo project, we appreciate it! 🍻 |
@mhanberg Confirmed, that fixed it, thanks! |
@TheFirstAvenger the fix has been released with v0.26.2 |
@mhanberg Thank you! |
Example Repo: https://github.com/TheFirstAvenger/wallaby_dialyzer_issue
If you have compiled test helpers, and use module attributes to specify Queries, then functions that call
fill_in
,click
, orassert_has
will throw the Dialyzer "no return" error. These show up as errors in IDE tools like ElixirLS.The text was updated successfully, but these errors were encountered: