vxx2 / vlib / v / checker / tests / js_number_requires_explicit_cast.js.out
6 lines · 6 sloc · 234 bytes · a88dc82d935061dd90b93334d59e2cb39899bfae
Raw
1vlib/v/checker/tests/js_number_requires_explicit_cast.vv:7:4: error: cannot use `int` as `JS.Number` without an explicit cast (e.g. `JS.Number(value)`)
2 5 | fn main() {
3 6 | d := 1
4 7 | x(d)
5 | ^
6 8 | }
7