T143warning

?? operands do not match

The two sides of ?? have incompatible types.

a ?? b gives b when a is nil, so b should have a's type.

Give the fallback the same type as the value it replaces.

$ piko explain T143

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