T021warning

Duplicate directive

The same directive appears more than once on an element.

Only one instance of a directive, or of a p-bind for the same attribute, takes effect. The message gives the position of the first.

Remove the duplicate, or merge the two expressions.

$ piko explain T021

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