9 lines
316 B
Text
9 lines
316 B
Text
Error: Type Mismatch
|
|
╭─[expression-minus-bool.txt:1:17]
|
|
│
|
|
1 │ let foo: int = -true;
|
|
· ┬──┬─
|
|
· ╰────── Expected type `int`,
|
|
· │
|
|
· ╰─── but expression is of type `bool`
|
|
───╯
|