10 lines
279 B
Text
10 lines
279 B
Text
Error: Type Mismatch
|
|
╭─[assignment-bool-int.txt:2:7]
|
|
│
|
|
1 │ let foo: bool = true;
|
|
· ──┬─
|
|
· ╰─── Expected type `bool`,
|
|
2 │ foo = 0;
|
|
· ┬
|
|
· ╰── but expression is of type `int`
|
|
───╯
|