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
runtime: propose default alg->equals and alg->hash when nil #7447
Comments
Sounds reasonable to me, but as described at http://golang.org/doc/contribute.html you should raise this issue on the golang-dev mailing list. Thanks. |
Carl sent https://golang.org/cl/70200056 |
Excuse me, @0xfaded. Do you think we should we keep this issue open? I see it as some experiment that happened long time ago without any outcome. Do you think that it should be applied to existing runtime? |
Yeah, please close this. I guess it was somehow transferred from the old bug tracker. |
Closing per @0xfaded comment. |
We don't need to do this anymore. The algorithms can be closures, which close over the type. For example, reflect uses closures to make eq and hash functions. |
Thanks Keith for the explanation! |
by carlchatfield:
The text was updated successfully, but these errors were encountered: