T151error

Computed property not supported

Member access with [...] is used where it is not supported.

Templates cannot access a package's members, or a variable's fields, by a computed name in brackets.

Use dot access, such as value.Field, or index a map instead.

$ piko explain T151

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 CodeComputedPropertyError in Piko's source to see where it is reported.