006 nominal binding check

✗ Failing This test is currently failing.

Failed: wrong-error

Error Details

output_emitted.zig:82:55: error: expected type 'output_emitted.main_module.Feet', found 'output_emitted.main_module.Meters'

Failure Output

Showing last 10 of 16 lines
                   ^~~~~~
output_emitted.zig:46:18: note: struct declared here
    const Feet = struct {
                 ^~~~~~
referenced by:
    main: output_emitted.zig:197: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.kz

Backend must reject with:

CONTAINS error[KORU
CONTAINS Meters
CONTAINS Feet

Error Verification

Actual Compiler Output

🎯 Compiler coordination: Passes: 15 (flow-based: frontend, analysis, emission)
Error: output_emitted.zig:82:55: error: expected type 'output_emitted.main_module.Feet', found 'output_emitted.main_module.Meters'
        _ = main_module.report_feet_event.handler(.{ .f = h });
                                                     ~^~~~~
output_emitted.zig:43:20: note: struct declared here
    const Meters = struct {
                   ^~~~~~
output_emitted.zig:46:18: note: struct declared here
    const Feet = struct {
                 ^~~~~~
referenced by:
    main: output_emitted.zig:197: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

Flows

flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Meters, source: v: i64,)
flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Feet, source: v: i64,)
flow ~measure click a branch to expand · @labels scroll to their anchor
measure

Test Configuration

MUST_FAIL