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