Closed firelizzard18 closed 4 years ago
Just ran into this myself, it does indeed break the build.
Change https://golang.org/cl/239337 mentions this issue: [dev.go2go] go/go2go: avoid multiple identical instantiations
Thanks for the test case. This is now fixed on the dev.go2go branch.
@ianlancetaylor that was fast, thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran
go tool go2go build
on https://gitlab.com/firelizzard/go-iter/-/tree/master/issues/i1What did you expect to see?
A successful build
What did you see instead?
Both
b.go
andc.go
definefunc instantiate୦୦A୦int(m [](int), i int) { ... }