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