T016error

Feature not allowed here

The expression uses a feature this context does not allow.

Some places accept only a restricted kind of expression. For example, dynamic index access is not allowed where the value must be known when the template is built.

Use a simpler expression here, or compute the value in the script block.

$ piko explain T016

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeDisallowedFeature in Piko's source to see where it is reported.