mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
216 B
Plaintext
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 | }
|