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