undefined event

✓ Passing This code compiles and runs correctly.

Code

// This should fail: calling an event that doesn't exist
~event main {}

~proc main {
    const result = nonexistent_event.handler(.{ .x = 10 });
}

~main()
input.kz

Test Configuration

Expected Behavior:

BACKEND_COMPILE_ERROR

Expected Error:

error: