You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, that could be improved. What it's doing is routing the a := sub() case through the function-call codepath rather than the statement-call codepath; a temporary is needed for function calls to hold the return value in the event of a subsequent call to the same function.
cowfe/parser.y allocates temporary storage for return values of function calls like these:
I think it shouldn't do that for plain subroutine calls, but there's no matching rule for that:
The text was updated successfully, but these errors were encountered: