143 signed runtime division

✗ Failing This test is currently failing.

Failed: backend-exec

Error Details

output_emitted.zig:42:22: error: division with 'i64' and 'comptime_int': signed integers must use @divTrunc, @divFloor, or @divExact

Failure Output

🎯 Compiler coordination: Passes: 19 (flow-based: frontend, analysis, emission)
Error: output_emitted.zig:42:22: error: division with 'i64' and 'comptime_int': signed integers must use @divTrunc, @divFloor, or @divExact
            return n / 2;
                   ~~^~~
referenced by:
    handler [inlined]: output_emitted.zig:36:39
    __koru_handler_impl: output_emitted.zig:59:55
    5 reference(s) hidden; use '-freference-trace=7' to see all references

Code

input.k

Expected output

half=5

Flows

subflow ~go click a branch to expand · @labels scroll to their anchor
f (n)
flow ~go click a branch to expand · @labels scroll to their anchor
go (n: 10)

Test Configuration

MUST_RUN