Skip to content
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

Move overload of Base.range() to JuliaSyntax.byte_range() #463

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

c42f
Copy link
Member

@c42f c42f commented Jul 16, 2024

This overload was a mistake - it doesn't really have the same semantics as compared to Base.range()

Fixes #417

Probably breaking because range() is a public API in Base. And people probably used it rather than sourcetext()

@c42f c42f force-pushed the caf/byte_range branch from 3173d9b to e6e9ae1 Compare July 19, 2024 07:13
The Base overload was a mistake - it doesn't really have the same
semantics as compared to `Base.range()`. It's also not got the clearest
name!
@c42f c42f force-pushed the caf/byte_range branch from e6e9ae1 to 6c6bcd9 Compare July 19, 2024 07:18
@c42f c42f added the breaking label Jul 19, 2024
@c42f c42f merged commit af768dd into main Jul 19, 2024
36 checks passed
@c42f c42f deleted the caf/byte_range branch July 19, 2024 07:32
@c42f c42f mentioned this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't define Base.range(::SyntaxNode)
1 participant