T124errorwarning
Binding has the wrong type
A p-class, :class, p-style, p-key or p-context binding has a type it does not expect.
When it is reported
It is an error when :class is not a string, slice or map. It is a warning when p-class or p-style has another type, when p-key is a struct, map or slice, or when p-context does not resolve to a string.
How to fix it
Give the binding the type the message names.
In your terminal and editor
$ piko explain T124Build 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 CodeBindingTypeError in Piko's source to see where it is reported.