cmd/compile: dictionary for [...] should only use concrete types #52181
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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
)?go env
OutputWhat did you do?
I used a complicated mess of generics, interfaces, and maps. Then, tried to run a unit test with the
--race
flag.I've only managed to reproduce this using 2 different packages.
file at
/[your project]/pkg/application/bug/bug_test.go
file at
/[your project]/pkg/application/other/entities.go
With these files, run:
go test --race ./pkg/application/bug --short
What did you expect to see?
The same that I see without the
--race
flag:What did you see instead?
the output of
go test --race ./pkg/application/bug --short
is:The text was updated successfully, but these errors were encountered: