✓
Passing This code compiles and runs correctly.
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)
Must fail at runtime:
Program must error when executed.
Test Configuration
Expected Error:
Unknown event referenced