Open spider-mane opened 4 years ago
i get ERROR: Expected comma or ")" when attempting to format a macro with default parameter values such as
ERROR: Expected comma or ")"
{% macro name(name = 'John') %} <h1>{{ name }}</h1> {% endmacro %}
It's followed by The argument list of a macro can only consist of parameter names separated by commas.
The argument list of a macro can only consist of parameter names separated by commas.
Is this a mistake? Default arguments are valid after all.
Same error here. Is there any way to ignore it?
i get
ERROR: Expected comma or ")"
when attempting to format a macro with default parameter values such asIt's followed by
The argument list of a macro can only consist of parameter names separated by commas.
Is this a mistake? Default arguments are valid after all.