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

Drop pre go 1.18 implementation of Encoder.write #483

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Mar 20, 2023

...and use it on all versions we support. Presumably the build tag was meant to avoid using this on older versions of Go, but it currently also prevents it being used on newer versions, which is not what we want. We already require at least Go 1.18 anyway for generics, so there's no need for conditional compilation here anymore.

...and use it on all versions we support. Presumably the build tag was
meant to avoid using this on *older* versions of Go, but it currently
also prevents it being used on *newer* versions, which is not what we
want. We already require at least Go 1.18 anyway for generics, so
there's no need for conditional compilation here anymore.
@zenhack zenhack merged commit ea733aa into capnproto:main Mar 20, 2023
@zenhack zenhack deleted the go-1.18-write branch March 20, 2023 20:36
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