✓
Passing This code compiles and runs correctly.
Code
// codemod:skip — this negative test MUST keep its snake name to exercise the rule.
// PIN (kebab): `_` is not a legal Koru name char. A snake event name must be
// REJECTED (KORU034) — use `-` (kebab) for word separation; `_` is reserved for
// digit separators in numeric literals (rule G4). The "we won't accept both"
// enforcement: the old snake form must fail loudly.
~import std/io
~event foo_bar {}
~std/io:print.ln("underscore should have been rejected")
Must fail at frontend compile:
Parsing or type-checking must reject the program.