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