Skip to content

Conversation

nevkontakte
Copy link
Member

  • Update tested version to 1.18.4 and address new gorepo test failures.
  • Cleanup overlays that are no longer necessary.
  • Remove Wrapper type from syscall/js like in upstream.
  • Emit explicit errors when encountering typeparams.

Updates #1092.

Even though the compiler was usually able to compile them into
_something_, the code was likely incorrect in all cases. To prevent
users from tripping up on that the compiler will return an error if it
encounters type params until
gopherjs#1013 is resolved.
Go 1.18 upstream includes the fix, which makes the overlay unnecessary.
This mirrors the change in the upstream.
Upstream already skips it for wasm, so it should be ok for us to skip it
as well.
GopherJS doesn't have the problem it targets, but its println() format
is different from upstream Go, which causes the test failure.
@nevkontakte nevkontakte requested a review from flimzy August 1, 2022 15:13
@nevkontakte nevkontakte merged commit 7736106 into gopherjs:go1.18 Aug 1, 2022
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