error: type mismatch: constant 'N' is declared 'string' but its initializer is an integer literal --> examples/1143-diagnostics-typed-module-const-mismatch.sx:18:14 | 18 | N : string : 4; // integer literal where a string is annotated | ^ error: type mismatch: constant 'F' is declared 's64' but its initializer is a string literal --> examples/1143-diagnostics-typed-module-const-mismatch.sx:19:14 | 19 | F : s64 : "x"; // string literal where an integer is annotated | ^^^ error: type mismatch: constant 'B' is declared 's64' but its initializer is a boolean literal --> examples/1143-diagnostics-typed-module-const-mismatch.sx:20:14 | 20 | B : s64 : true; // boolean literal where an integer is annotated | ^^^^ error: type mismatch: constant 'G' is declared 's64' but its initializer is a float literal --> examples/1143-diagnostics-typed-module-const-mismatch.sx:21:14 | 21 | G : s64 : 1.5; // float literal where an integer is annotated | ^^^ error: type mismatch: constant 'E' is declared 'string' but its initializer is an integer expression --> examples/1143-diagnostics-typed-module-const-mismatch.sx:22:14 | 22 | E : string : M + 2; // integer EXPRESSION where a string is annotated | ^^^^^ error: type mismatch: constant 'V' is declared 'string' but its initializer is an integer expression --> examples/1143-diagnostics-typed-module-const-mismatch.sx:23:14 | 23 | V : string : -M; // integer (unary) expression where a string is annotated | ^^