aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/bool_string_cast_err.out
blob: 44a1643c87c5035dbe8f6b2c0e3c913255fb82a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 | }