Skip to content

cmd/compile: irgen uses wrong dict param to generate code for getting dict type #51413

@mdempsky

Description

@mdempsky

Since submitting https://go-review.googlesource.com/c/go/+/388534, the linux-amd64-noopt builder is failing in test/typeparam/mdempsky/13.go:

https://build.golang.org/log/e4383af359722053b9d212fc3c8c69351e0ffbd1

##### ../test
# go run run.go typeparam/mdempsky/13.go
exit status 2
# command-line-arguments
typeparam/mdempsky/13.go:38:3: internal compiler error: 'G[go.shape.interface { Abs() "".MyInt }_0,go.shape.int_1].func1': addr of undeclared ONAME .dict. declared: map[a0:v5 r0:v6 .dict:v4]

I'm not immediately able to reproduce this failure locally.

/cc @danscales @randall77

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions