V: Example program in playground not working

Created on 8 Feb 2020  路  2Comments  路  Source: vlang/v

V version:
OS: Chrome(Playground for V)

What did you do?
I was trying out certain examples from here with JSON decoding/encoding snippet.

What did you expect to see?
I expected the program to compile and encode/decode the example json.

What did you see instead?

You just found a bug. V can't compile this program, but it should. Please create a GitHub issue.

Bug Playground

Most helpful comment

The examples in the playground are out of date. This will be fixed with the new site.

All 2 comments

The examples in the playground are out of date. This will be fixed with the new site.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taojy123 picture taojy123  路  3Comments

cjmxp picture cjmxp  路  3Comments

markgraydev picture markgraydev  路  3Comments

clpo13 picture clpo13  路  3Comments

oleg-kachan picture oleg-kachan  路  3Comments