1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/checker/tests/bool_string_cast_err.out
2020-11-17 21:23:17 +01:00

13 lines
495 B
Plaintext

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