-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
The pin doesn't pin #12407
Labels
Comments
Thank you! |
Also in 23 as confirmed by OTP. |
Closing as it has been backported to OTP 23, 24, 25. Thanks @michalmuskala ! |
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 25 [erts-13.1.4] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit] [dtrace]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
Operating system
macOS
Current behavior
Given the following module:
Running
Test.test()
outputs:Expected behavior
The code should fail with a match error.
This is caused by an issue in Erlang: erlang/otp#6873. The issue exists at least in OTP 24 and 25. The current OTP master does not present it.
However, given how serious in terms of language semantics the issue is, I decided to report it here as well - Elixir might want to employ some sort of mitigation through compiling to a different code pattern.
The text was updated successfully, but these errors were encountered: