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: invalid type conversion (type has no methods) #35739
Comments
I will take a look. |
There is a minimal test case (or mostly minimal) that I've managed to create: test/main.go:
test/service/errors.go:
So far to workaround the issue it is enough to:
but stops working if I remove EDIT: managed to simplify it a bit more. |
Change https://golang.org/cl/261662 mentions this issue: |
The gofrontend code doesn't correctly handle inlining a function that refers to a constant with methods. For #35739 Change-Id: I6bd0b5cd4272dbe9969634b4821e668acacfdcf9 Reviewed-on: https://go-review.googlesource.com/c/go/+/261662 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Change https://golang.org/cl/262437 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
Clean compilation.
What did you see instead?
The text was updated successfully, but these errors were encountered: