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