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