v/vlib/v/checker/tests/cannot_cast_to_alias.out

7 lines
208 B
Plaintext

vlib/v/checker/tests/cannot_cast_to_alias.vv:6:7: error: cannot cast `int literal` to `MyType` (alias to `string`)
4 |
5 | fn main() {
6 | _ := MyType(5)
| ~~~~~~~~~
7 | }