Skip to content
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

fix: decode !!binary as []byte #1039

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from
Open

fix: decode !!binary as []byte #1039

wants to merge 2 commits into from

Conversation

setrofim
Copy link

When decoding !!binary do not assume that the result will be a string, as !!binary can be use to encode arbitrary data.

When decoding !!binary do not assume that the result will be a string,
as !!binary can be use to encode arbitrary data.
Otherwise, this fork cannot be used with a `replace` directive, which in
turn prevent the module using it from being installed with `go install`.

See also: golang/go#44840
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.

1 participant