cmd/compile: walkConvInterface produces broken IR #56768
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
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?
Compile following program:
What did you expect to see?
Compile ok.
What did you see instead?
The fix for #56727 reveals this bug, because it called typecheck on walked IR.
The problem is in
walkConvInterface
, we generate code like:But
itab
has type*uintptr
. I think we can just switchitab
to*uint8
(any generic pointer type should work, I guess) cc @randall77The text was updated successfully, but these errors were encountered: