Skip to content

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
@c42f c42f deleted the caf/byte_range branch July 19, 2024 07:32
@c42f c42f mentioned this pull request Jul 23, 2024
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…JuliaSyntax.jl#463)

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!
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