cmd/compile: calling function that propagates multiple return values, some generic, causes compiler panic #47813
Labels
FrozenDueToAge
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. (I found this issue in the latest release.)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to run the program below.
What did you expect to see?
The program compiles and runs successfully.
What did you see instead?
Compiler panic.
notes
ng
) is actually called. If that call is commented out, the program compiles normally.ng
but returns result indirectly (ok
in the code above) doesn't cause a compiler panic.error
in the code above) are irrelevant to this issue.The text was updated successfully, but these errors were encountered: