032 reject unimplemented event invocation

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

Code

input.k

Actual compiler output

error[KORU047]: event 'input:double' is invoked but has no implementation — without one the compiler would silently stub it to return zero-defaults. Implement it with a proc (`~proc double|zig { ... }`), a bare-return impl (`~double -> <value>`), a branch constructor (`~double => <branch> <value>`), or a subflow (`~double = <flow>`)
  --> tests/regression/000_CORE_LANGUAGE/020_EVENTS_FLOWS/020_032_reject_unimplemented_event_invocation/input.k:19:0

❌ Compiler coordination error: Validation failed (see errors above)
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must fail at runtime:

Program must error when executed.

Error output must contain

no implementation

Flows

flow ~double click a branch to expand · @labels scroll to their anchor
double (a: 21)

Test Configuration

MUST_ERROR