141 type with capture

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

Total: 100, Count: 4

Must contain:

Total: 100, Count: 4

Flows

flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Acc, source: total: i64, count: i64,)
flow ~capture click a branch to expand · @labels scroll to their anchor
capture (source: a: Acc{ .total = 0, .count = 0 })

Test Configuration

MUST_RUN