Skip to content

[go1.20] Removing remaining uses of unsafeheader.Slice from reflect - #1322

Merged
nevkontakte merged 1 commit into
gopherjs:go1.20from
Workiva:add3Reflects
Jul 16, 2024
Merged

nevkontakte merged 1 commit into
gopherjs:go1.20from
Workiva:add3Reflects

Conversation

@grantnelson-wf

Copy link
Copy Markdown
Collaborator

Overrode the remaining uses of unsafeheader.Slice since GopherJS implemented slices differently. The remaining use was in cvtSliceArray used by methods like Value.Convert.

The CI will still not pass yet, but this will fix the tests like TestConvert so they pass. With the prior tickets for reflect merged, this should also get the reflect package to pass.

This is a follow up to #1321. This is part of #1270

Comment thread compiler/natives/src/reflect/reflect.go
Comment thread compiler/natives/src/internal/unsafeheader/unsafeheader.go
@nevkontakte
nevkontakte merged commit 1a33e5a into gopherjs:go1.20 Jul 16, 2024
@grantnelson-wf
grantnelson-wf deleted the add3Reflects branch July 17, 2024 14:50
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