-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Dialyzer fails with no_return
when using Mix.raise/1
in Elixir 1.17.0
#13656
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
Comments
We tag |
sabiwara
added a commit
to sabiwara/elixir
that referenced
this issue
Jun 12, 2024
sabiwara
added a commit
to sabiwara/elixir
that referenced
this issue
Jun 13, 2024
josevalim
pushed a commit
that referenced
this issue
Jun 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Elixir and Erlang/OTP versions
Erlang/OTP 26 [erts-14.2.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.17.0 (compiled with Erlang/OTP 26)
Operating system
macOS 14.5
Current behavior
With Elixir 1.17 dialyzer is failing with
no_return
when a mix task usesMix.raise
as the return ofwith/else
, usingcase
orraise Mix.Error
avoids this issue.Expected behavior
Dialyzer behaves the same as in previous versions when using
Mix.raise/1
The text was updated successfully, but these errors were encountered: