v/vlib/v/checker/tests/bool_string_cast_err.out

13 lines
504 B
Plaintext

vlib/v/checker/tests/bool_string_cast_err.vv:2:13: error: cannot cast type `bool` to string, use `true.str()` instead.
1 | fn main() {
2 | println(string(true))
| ~~~~~~~~~~~~
3 | println(string(false))
4 | }
vlib/v/checker/tests/bool_string_cast_err.vv:3:13: error: cannot cast type `bool` to string, use `false.str()` instead.
1 | fn main() {
2 | println(string(true))
3 | println(string(false))
| ~~~~~~~~~~~~~
4 | }