Skip to content

[go1.20] Temporarily overriding generics for go1.20 #1309

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

Merged
merged 1 commit into from
May 25, 2024

Conversation

grantnelson-wf
Copy link
Collaborator

Temporarily overriding some more generics for go1.20 without generics while generics are still being worked on.

This also includes a work around to make CI pass the generic type check for the atomic.Pointer[T]. Since generics are being parsed correctly, I simply stripped all the functions off of atomic.Pointer[T] so that it can't be used but left an empty structure in it's place so that the type check at go1.20.14:src/sync/atomic/type.go:40 passes. This will help the CI for go1.20 produce much more useful errors since instead of always failing in atomic.

This is part of #1270

@nevkontakte nevkontakte merged commit a5152c9 into gopherjs:go1.20 May 25, 2024
1 of 4 checks passed
@grantnelson-wf grantnelson-wf deleted the atomicPntrOverrides branch May 28, 2024 14: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