This repository has been archived on 2023-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
p3l/integration/fail/type-mismatch/declaration-bool-int-tuple-bool-bool-tuple.out
2022-10-16 20:14:55 +02:00

9 lines
436 B
Text

Error: Type Mismatch
╭─[declaration-bool-int-tuple-bool-bool-tuple.txt:1:31]
1 │ let foo: (bool, int) = (true, true);
· ─┬─ ──┬─
· ╰────────────────── Expected type `int`,
· │
· ╰─── but expression is of type `bool`
───╯