Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Touchup of go1.20#1399

Merged
grantnelson-wf merged 1 commit intogopherjs:go1.20from
Workiva:touchup120
Jan 12, 2026
Merged

Touchup of go1.20#1399
grantnelson-wf merged 1 commit intogopherjs:go1.20from
Workiva:touchup120

Conversation

@grantnelson-wf
Copy link
Collaborator

@grantnelson-wf grantnelson-wf commented Jan 9, 2026

Made three changes:

  1. Removed the unneeded GOPHERJS_EXPERIMENT from a CI workflow

  2. Removed a comment about checking if the xorLoop method should still be removed now that generics has been implemented. Yes, it should be because it is using uintptr and we'd need it to be uint if we were to use it. That's just as much work as purging it so we'll just remove the comment and continue to purge the function

  3. Updated chainedCtx.Import to return the primary Import error if both fail since the secondary Import error will say that "$GOPATH not set." which can be confusing. This is because the secondary Import is for the virtual files in the gopherjs context so the context doesn't have GOPATH set in it. This is not specific to go1.20 but me and some other devs at Workiva were trying to help a new dev setup his computer and we kept getting "$GOPATH not set." I wanted to see why when his GOPATH was definitely setup correctly. (The problem ended up being that he was checking out repos into his home directory then symlinking them into the Go path and that was causing other conflicts finding packages.)

After these changes (the first two) were the only changes I saw that still needed to be made to the go1.20 branch before I felt it ready. They are based on comments in #1398

@grantnelson-wf grantnelson-wf self-assigned this Jan 9, 2026
@grantnelson-wf grantnelson-wf merged commit 2f63887 into gopherjs:go1.20 Jan 12, 2026
10 checks passed
@grantnelson-wf grantnelson-wf deleted the touchup120 branch January 12, 2026 15:48
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.

2 participants