Skip to content

Conversation

@doorgan
Copy link
Contributor

@doorgan doorgan commented Jan 22, 2026

Fixes one of the errors found by #78

Spitfire.parse("a..b..c//d") is producing a..(b..c//d) instead of (a..(b..c))//d.

This is due to the wrong precedence being used for @range_op, and the parsing of nested ranges causing the inner range to consume the // operator.

@mhanberg mhanberg merged commit 6a039da into elixir-tools:main Jan 22, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants