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