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