1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Files
v/vlib/v/checker/tests/if_expr_mismatch.out
2021-01-04 00:11:09 +02:00

7 lines
216 B
Plaintext

vlib/v/checker/tests/if_expr_mismatch.vv:2:7: error: mismatched types `string` and `int literal`
1 | fn main() {
2 | s := if true { '12' } else { 12 }
| ~~
3 | println(s)
4 | }