Skip to content

[go1.20] Removing some uses of unsafeheader.Slice from reflect #1321

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
Jul 13, 2024

Conversation

grantnelson-wf
Copy link
Collaborator

@grantnelson-wf grantnelson-wf commented Jul 12, 2024

Overrode the following to not use unsafeheader.Slice since GopherJS implemented slices differently:

The last use of unsafeheader.Slice is in cvtSliceArray used by methods like Value.Convert. I will put that update into another PR.

The CI will still not pass yet, but this will fix the tests like TestIsZero and TestAppend so they pass.

This is part of #1270

@flimzy flimzy merged commit 92f71c0 into gopherjs:go1.20 Jul 13, 2024
4 of 8 checks passed
@grantnelson-wf grantnelson-wf deleted the add2Reflects branch July 15, 2024 14:51
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