015 proto ref write unset allowed

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

dog -1

Expected output

dog -1

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Dog, source: hp: i64)
flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Owner, source: dog: ref(Dog))
flow ~new click a branch to expand · @labels scroll to their anchor
new (dogs, capacity: 8, source: Dog)
flow ~new click a branch to expand · @labels scroll to their anchor
new (owners, capacity: 8, source: Owner)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (owners, source: dog: -1)
flow ~query click a branch to expand · @labels scroll to their anchor
query (owners)

Test Configuration

MUST_RUN