Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macros do not support varargs #756

Open
2 tasks
barnslig opened this issue Nov 2, 2020 · 1 comment
Open
2 tasks

Macros do not support varargs #756

barnslig opened this issue Nov 2, 2020 · 1 comment

Comments

@barnslig
Copy link

barnslig commented Nov 2, 2020

Problem

Extra positional arguments passed to macros cannot be accessed via varargs.

The feature seems to be not implemented at all.

How it is supposed to be

  • Extra positional arguments passed to a macro end up in a special varargs variable as a list of values
  • A macro argument may not be named varargs

Documentation and tests of TwigPHP

@willrowe
Copy link
Collaborator

willrowe commented Aug 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants