022 singleline shape bug

✓ Passing This code compiles and runs correctly.

Code

// TEST: Single-line shape block bug
// This fails because single-line source blocks don't capture source_value

~import "$std/kernel"
~import "$std/io"

// BUG: This single-line shape doesn't work
~std.kernel:shape(Body) { mass: f64 }

~std.kernel:init(Body) {
    { mass: 1.0 },
}

~std.io:print.ln("done")
input.kz

Expected

done

Actual

done

Test Configuration

MUST_RUN