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
Consuming an optional variadic that is not set causes an error.
Expected behavior:
Since (@a, @rest...) supports 1..N arguments, it should be expected that in the 1 case, @rest is unset, and if so, passing @rest should be valid and a no-op instead of an error.
Ah, well you changed the calling convention from @rest to @rest..., which is presumably how you're supposed to do it, but this is not documented anywhere.
Activity
puckowski commentedon Jul 27, 2025
You'd have to define
@aat least, but this Lessgives me:
in version
4.4.0.Bilge commentedon Jul 27, 2025
Ah, well you changed the calling convention from
@restto@rest..., which is presumably how you're supposed to do it, but this is not documented anywhere.