196 variant block no event refuses

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

Code

input.k

Actual compiler output

error[KORU040]: a '|zig' block has no event to attach to — the handler spelling is 'proc <name>|zig { ... }'
  --> tests/regression/400_RUNTIME_FEATURES/400_196_variant_block_no_event_refuses/input.k:12:0

❌ Compiler coordination error: Unknown tor referenced
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

subflow ~dial click a branch to expand · @labels scroll to their anchor
|zig (source: _ = port; return .{ .refused = port };)
flow ~dial click a branch to expand · @labels scroll to their anchor
dial (port: 8080)

Test Configuration

MUST_ERROR