T145errorwarning

Conversion failed

A value could not be converted to the type it is needed as.

It is an error when a conversion function has the wrong number of arguments or cannot convert the type. It is a warning when a static prop value cannot be converted to the prop's type, in which case the value is ignored.

Pass a value that can be converted, or change the prop's type.

$ piko explain T145

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