160 store f32 column refuses f64 narrowing write

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)
Error: output_emitted.zig:231:151: error: expected type 'f32', found 'f64'
            const result = main_module.__store_write_bodies_event.handler(.{ .row = __koru_sdix_b_L25,  .field = 0,  .value_0 = __koru_store_bodies.x[__koru_sdix_b_L25] + __koru_store_bodies.big[__koru_sdix_b_L25],  .value_1 = 0.0 });
                                                                                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
    handler [inlined]: output_emitted.zig:223:39
    handler: output_emitted.zig:244:133
    5 reference(s) hidden; use '-freference-trace=7' to see all references

Must fail at runtime:

Program must error when executed.

Error output must contain

expected type 'f32', found 'f64'

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (bodies, capacity: 4, source: x: f32, big: f64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (bodies, source: x: 1.5, big: 2.25)
flow ~query click a branch to expand · @labels scroll to their anchor
query (bodies)
flow ~query click a branch to expand · @labels scroll to their anchor
query (bodies)

Test Configuration

MUST_ERROR LANGUAGES: zig cs