063 modulo operator signed i64 gap

✗ Failing This test is currently failing.

Failed: backend-exec

Error Details

output_emitted.zig:44:60: error: remainder division with 'i64' and 'i64': signed integers and floats must use @rem or @mod

Failure Output

🎯 Compiler coordination: Passes: 15 (flow-based: frontend, analysis, emission)
Error: output_emitted.zig:44:60: error: remainder division with 'i64' and 'i64': signed integers and floats must use @rem or @mod
        { const i = __koru_item_0; _ = &i;         a.acc = (a.acc + 7) % @as(i64, @intCast(i));
                                                           ^~~~~~~~~~~
referenced by:
    main: output_emitted.zig:505:22
    callMain [inlined]: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/start.zig:618:22
    callMainWithArgs [inlined]: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/start.zig:587:20
    main: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/start.zig:602:28
    1 reference(s) hidden; use '-freference-trace=5' to see all references

Code

input.k

Expected output

1

Flows

flow ~capture click a branch to expand · @labels scroll to their anchor
capture (source: acc: 0[i64])

Test Configuration

MUST_RUN