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

drop Go 1.22 and require Go 1.23.0 or later #876

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mvdan
Copy link
Member

@mvdan mvdan commented Sep 15, 2024

(see commit message)

@mvdan mvdan requested review from lu4p and pagran September 15, 2024 10:32
This lets us start taking advantage of featurs from Go 1.23,
particularly tracking aliases in go/types and iterators.

Note that we need to add code to properly handle or skip over the new
*types.Alias type which go/types produces for Go type aliases.

We don't yet remove our own alias tracking code yet,
as doing so breaks TestScript/syntax due to a bug where type information
loaded from cmd/go's export data seems to not include aliases properly.
We hope to do that very soon however.
@lu4p
Copy link
Member

lu4p commented Oct 21, 2024

If we drop go 1.22 we should also drop it from ci. Also isn't something weird going on here, that ci is not failing on 1.22?

CI is failing on Ubuntu 1.23.

@mvdan
Copy link
Member Author

mvdan commented Oct 21, 2024

Well spotted regarding 1.22.

I'm still trying to figure out the third party test failures.

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.

2 participants