You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P.S. Please consider adding method type parameters.
The text was updated successfully, but these errors were encountered:
cagedmantis
changed the title
cmd/go2go using types from packages with slashes in names causes syntax error
cmd/go2go: using types from packages with slashes in names causes syntax error
Jun 22, 2020
types.TypeString defaults to using the package path for references to names.
Provide our own types.Qualifier that uses just the package name,
since that is what the translated code has to use.
Fixes#39744
Change-Id: Icde289b2ed0fdd9b0a9aae6aae4557a8951d25a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/239381
Reviewed-by: Ian Lance Taylor <iant@golang.org>
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran this code https://go2goplay.golang.org/p/2-0wCuAqvau
What did you expect to see?
Not sure, but not the syntax error
What did you see instead?
If I use the playground, I get the panic. If I use version, built from the latest dev.go2go code, I get following:
P.S. Please consider adding method type parameters.
The text was updated successfully, but these errors were encountered: