✓
Passing Passing: the compiler rejects this program as expected.
Code
// Test: Call to event that doesn't exist
// BAD: Backend says "Unknown event referenced" without naming which event
// Should say: "Event 'nonexistent' is not defined"
nonexistent(x: 1)
Actual compiler output
error[KORU040]: unknown tor 'input:nonexistent'
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_062_undefined_event_call/input.k:5:1Must fail at backend compile:
Code generation must reject the program.
Error output must contain
error[KORU040]: unknown tor 'input:nonexistent'Flows
flow ~nonexistent click a branch to expand · @labels scroll to their anchor
nonexistent (x: 1)
Test Configuration
MUST_ERROR