T003error
Invalid escape sequence
A rune literal contains an escape sequence that is not valid.
When it is reported
Rune literals such as r'\n' accept the usual Go escapes. Anything else after the backslash is rejected.
How to fix it
Use a valid escape, such as \n, \t, \\ or \', or write the character directly.
In your terminal and editor
$ piko explain T003Build 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 CodeInvalidEscapeSequence in Piko's source to see where it is reported.