Skip to content

Conversation

sabiwara
Copy link
Contributor

Close #14737

@josevalim
Copy link
Member

Oh, should we also add a test that this raises now with this change?

 <<a::size(a)>> = "123"

@sabiwara
Copy link
Contributor Author

Oh, should we also add a test that this raises now with this change?

 <<a::size(a)>> = "123"

Sounds good! You do mean compile error right?
Done 07de822

@sabiwara sabiwara merged commit b87a9fa into elixir-lang:main Aug 31, 2025
13 checks passed
@sabiwara sabiwara deleted the bitstring-redef-var branch August 31, 2025 10:20
@sabiwara
Copy link
Contributor Author

Backported ✅

@sabiwara
Copy link
Contributor Author

Sorry seems the backporting broke the CI - one of the new tests doesn't seem to work :/
On it

@sabiwara
Copy link
Contributor Author

Fixed by 0fca9be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Error reusing variable with binary segment specifier

2 participants