T008error
Unexpected token
The parser found a token where it expected a value or a different token.
When it is reported
This is reported when an expression has an operator or punctuation in a position where a value belongs. It is also reported for composite type arguments such as []T, which template expressions do not support.
How to fix it
Check the expression around the highlighted token. For composite type arguments, declare a named type in the script block and use that instead.
In your terminal and editor
$ piko explain T008Build 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 CodeUnexpectedToken in Piko's source to see where it is reported.