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
gollvm/gofrontend: missing hash functions for alias types #52846
Labels
Milestone
Comments
heschi
added
the
NeedsFix
The path to resolution is known, but the work has not been done.
label
May 11, 2022
cc @thanm |
Thanks for the report. |
Change https://go.dev/cl/413694 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jun 22, 2022
For #52846 Change-Id: I763f81def97b53277396c123c524f7b8193ea35e Reviewed-on: https://go-review.googlesource.com/c/go/+/413694 Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Change https://go.dev/cl/413660 mentions this issue: |
xionghul
pushed a commit
to xionghul/gcc
that referenced
this issue
Jun 23, 2022
realqhc
pushed a commit
to realqhc/gofrontend
that referenced
this issue
Aug 4, 2022
Test case is https://go.dev/cl/413694. Fixes golang/go#52846 Change-Id: I9dc883ba18b3ae1697acfc1b8a78560294cf5c30 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/413660 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com>
jproberts
pushed a commit
to jproberts/go
that referenced
this issue
Aug 10, 2022
For golang#52846 Change-Id: I763f81def97b53277396c123c524f7b8193ea35e Reviewed-on: https://go-review.googlesource.com/c/go/+/413694 Run-TryBot: Ian Lance Taylor <iant@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Gogo::write_specific_type_functions
traverses all types to writehash_function
for the key type of each map type.The trouble is that
Type::needs_specific_type_functions
returns false if the key type is an aliased type. Here we need to delegate the check to the real type (or indeed base type) to see whether we need a hash function for the base type.The text was updated successfully, but these errors were encountered: