KScript docs
EN

Error codes

KS5015

Two visible literal types declare the same pattern. The checker warns at the declaration or import that brings them together. You can use both types explicitly. If a bare word matches more than one visible pattern, the word itself gets a KS5012 error naming the candidates. See recognizing a custom literal by its pattern.