-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
gccgo: couldn't detect method of unnamed types #38125
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
Another finding:
|
@dotaheor can you provide the error that you get when attempting to compile? |
appended. |
Change https://golang.org/cl/251168 mentions this issue: |
Change https://golang.org/cl/251279 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Aug 28, 2020
For #38125 Change-Id: Id6ef10d74f0f9dbad2851531e0fe019cd145cf7c Reviewed-on: https://go-review.googlesource.com/c/go/+/251168 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
jpf91
pushed a commit
to D-Programming-GDC/gcc
that referenced
this issue
Sep 22, 2020
Previously we would finalize the methods of the alias type itself, but since its a type alias we really need to finalize the methods of the aliased type. Also, handle method expressions of unnamed struct types. Test case is https://golang.org/cl/251168. Fixes golang/go#38125 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/251279
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?$ gccgo --version
gccgo (Ubuntu 8.3.0-6) 8.3.0
Does this issue reproduce with the latest release?
True
What did you do?
What did you expect to see?
Compile and run okay.
What did you see instead?
Not compile.
The text was updated successfully, but these errors were encountered: