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

Replace experimental dependency on golang.org/x/exp #4294

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

TristonianJones
Copy link
Contributor

The golang.org/x/exp module does not make any guarantees about API or functionality stability; however, the functions being used slices.Equal and slices.EqualFunc are relatively straight-forward. Equivalent functionality has been reproduced in the contexts where these functions were used.

This change means that ANTLR will no longer have any go.mod dependencies which might otherwise affect minimum version selection (MVS) on an unstable API surface.

Signed-off-by: TristonianJones <tswadell@google.com>
@TristonianJones TristonianJones changed the base branch from master to dev May 31, 2023 05:48
@TristonianJones TristonianJones marked this pull request as draft May 31, 2023 06:33
…stent files

Signed-off-by: TristonianJones <tswadell@google.com>
@TristonianJones TristonianJones marked this pull request as ready for review May 31, 2023 07:12
@jimidle
Copy link
Collaborator

jimidle commented May 31, 2023 via email

@TristonianJones
Copy link
Contributor Author

@jimidle Any objections to submitting this narrowly scoped PR? Or, rather do you have an ETA for when you expect to produce a PR?

Thanks,

-Tristan

@jimidle
Copy link
Collaborator

jimidle commented May 31, 2023 via email

@cbandy
Copy link

cbandy commented Apr 2, 2024

This would help me out as well. How can I help to get this small change merged?

@jimidle
Copy link
Collaborator

jimidle commented Apr 2, 2024

I have some time this week to bring in such changes. In fact I already did this in my own branch

@jimidle
Copy link
Collaborator

jimidle commented Apr 2, 2024

Sorry for the delay in bringing in these minor changes, but I have been a little busy.

@jimidle
Copy link
Collaborator

jimidle commented May 18, 2024

I did not bring that in to 4.13.1 as I have been too busy to get to it. If you wish to resubmit this, after rebase then I can bring this in. I would like to keep slices.Sort though. It is still in the exp package but it is obviously baked now. I do not know when that will make it out of exp but I am sure it will. I know the interface is not guaranteed, but I highly doubt that it will change.

@cbandy
Copy link

cbandy commented May 18, 2024

Go 1.21 added slices.Sort to the stdlib; https://go.dev/doc/go1.21#slices

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.

3 participants