✓
Passing This code compiles and runs correctly.
Code
// The raw Zig slice `[]const u8` is not a Koru surface type in a RETURN
// position either — the same wall as payloads. Text returned from an event is
// spelled `string` (the canonical surface type); the slice is only the internal
// Zig lowering. Twin of 510_105 (which pins the payload position).
~event echo { msg: string } -> []const u8
Must fail at frontend compile:
Parsing or type-checking must reject the program.
Test Configuration
Expected Error:
'[]const u8' is not a Koru return type. Use 'string'