006 json dom error paths

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

BAD UnexpectedEndOfInput
at-on-array wrong-kind
idx 9 out-of-bounds
elem3 null
elem1 float
len=5
missing not-found

Expected output

BAD UnexpectedEndOfInput
at-on-array wrong-kind
idx 9 out-of-bounds
elem3 null
elem1 float
len=5
missing not-found

Flows

flow ~dom.parse click a branch to expand · @labels scroll to their anchor
dom.parse (input: "{\"a\":")
flow ~dom.parse click a branch to expand · @labels scroll to their anchor
dom.parse (input: "[1,2.5,true,null,\"s\"]")
flow ~dom.parse click a branch to expand · @labels scroll to their anchor
dom.parse (input: "{\"a\":1}")

Test Configuration

MUST_RUN LANGUAGES: zig