Alexander Medvednikov
Alexander Medvednikov
I agree, it should be renamed to `index`.
@Larpon current `json` is fine, I've used it to parse literally millions of lines of complex json without problems. This particular problem is due to a missing comma after `"age":...
@despiegk typos happen, and it's easy to miss a comma in JSON. This should stay open until JSON errors are reported well. I just realised that V actually printed everything...
Fixed in 0.3
This has been picked up by Denis G.
This works: ``` keys_down map[gg.KeyCode]bool = { .right: false } ``` And then V parses `false.left`.
Also ``` FAIL [ 92/187] 0.590 ms file vlib/v/fmt/tests/orm_keep.vv after formatting, does not look as expected. ```
``` FAIL [ 155/1035] 454.691 ms vlib/orm/orm_test.v ================ V panic ================ module: builtin function: slice() message: array.slice: invalid slice index (0 > -1) file: /home/runner/work/v/v/vlib/builtin/array.v:485 v hash: f468883 ```
``` FAIL [ 156/1038] 6280.150 ms vlib/orm/orm_sql_or_blocks_test.v [/home/runner/work/v/v/vlib/v/gen/c/sql.v:782] g.inside_call: false [/home/runner/work/v/v/vlib/v/gen/c/sql.v:782] g.inside_call: false [/home/runner/work/v/v/vlib/v/gen/c/sql.v:782] g.inside_call: false Uninitialized bytes in __interceptor_strlen at offset 31 inside [0x703000000578, 32) ==17656==WARNING: MemorySanitizer: use-of-uninitialized-value #0...
This would be tricky to implement, but it works in Swift (where the `.a` syntax was taken from), so it should be fixed.