tera
tera copied to clipboard
Arrays not supported as macro param default value
trafficstars
According to the documentation "macro arguments can have a default literal value." Also, array literals are a documented thing.
However, when I try to give a macro definition an array as a parameter default value this error is produced:
expected an integer, a float, a string, or `true` or `false`
So, something is off (in v1.15.0). Either the documentation is incorrect of the implementation is missing something.
The documentation is incorrect, it should not list arrays as literal. But it will work on the next Tera version