Closed randycoulman closed 1 week ago
@lnenad would you mind taking a quick look at this, given this is only happening after your changes in #543 ?
Yes, it was my oversight, sorry @randycoulman! This PR fixes the issue https://github.com/jeremyjh/dialyxir/pull/545
@randycoulman any chance you can test with that branch in your project?
@jeremyjh The branch works for me. Thanks!
Any update on this? 1.4.4 is still broken for me too. I would love to see a new release that fixes this issue
Just ran into this too today. And really need the fix to be published @jeremyjh as moving to 1.17/OTP27 is causing issues
Peeps, this has also broken Lexical's builds as well, can we get some work on this?
Hey everyone, I apologize but I've been slammed at work for last 3 weeks, launching a major platform feature. This is currently stalled in CI failures in #545. If someone wants to take a look at that, I'd be grateful, I think @lnenad is stuck. The build matrix is a bit surprising. Otherwise I will make time for it this weekend.
why not retiring some version? the OTP + Elixir is more agressive and maybe it s time to ignore some of the old versions at this point? like OTP23 and lower, elixir 1.12 and lower?
☝️ This PR fixes it and adds tests for the various scenarios.
will you push a new version 1.4.5 soon then?
1.4.5 is released
thank you!
Thanks @jeremyjh! Confirmed that this fixes my original issue.
Precheck
Environment
Elixir 1.17.2 (compiled with Erlang/OTP 27)
I think that the key thing to note is my dialyzer config, notably the fact that I'm specifying a custom location for the
ignore_warnings
setting:Also note that my ignore file has an empty list in it, but I'm not sure that matters here.
If I comment out the
ignore_warnings:
line, dialyzer 1.4.4 works fine, but adds theNo :ignore_warnings opt specified in mix.exs and default does not exist.
line to its output.If I move my ignore file to the standard
.dialyzer_ignore.exs
location, with or without theignore_warnings:
line, everything works as expected. It seems to be only the case where I specify a non-standard location for the ignore file that is broken.Expected behavior
I'd expect
mix dialyzer
to run correctly using my custom ignore file location.