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

Update golang.org/x/tools to v0.12.0 #3883

Merged
merged 3 commits into from
Sep 10, 2023
Merged

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Aug 28, 2023

This required handling array and struct zero constants, due to golang/tools@71ea8f1. I implemented that the same way as channels, which I hope is correct. At least, it appears to work for tests that I am able to run, but we'll see how it is with the more extensive checks on CI.

This also triggers an update of golang.org/x/sys, but that is only used for a constant and should be fine.

This is necessary for tools 0.9.0, which started lifting those since
golang/tools@71ea8f1
This requires updating test data, due to the change noted in the
previous commit.
@deadprogram deadprogram changed the base branch from release to dev September 10, 2023 15:21
Copy link
Member

@aykevl aykevl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct.

Also, updating x/tools/go/ssa is probably a good idea, we haven't updated that dependency in quite a while.

@QuLogic you might also consider updating to v0.13.0, which was released a few days ago.

@deadprogram
Copy link
Member

Thanks for the update @QuLogic and to @aykevl for review.

Now merging.

@deadprogram deadprogram merged commit bb9a9be into tinygo-org:dev Sep 10, 2023
13 checks passed
@QuLogic QuLogic deleted the update-tools branch September 11, 2023 00:45
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