cmd/compile: error for unexpected return values does not say 'return' #50653
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
The marked messages that say 'result values' should be rewritten to say 'return values',
both for consistency with the others and for clarity.
The simplest fix is probably to stop treating
f0_1
andf0_2
as a special caseand let the general 'too many return values' printer handle them, just like
f1_0 and
f2_0` are not special cases and are handled by the general 'not enough return values' printer.I know there's still plenty of generics work left in the type checker.
I can take care of this one myself this week.
The text was updated successfully, but these errors were encountered: