○
Planned This feature is planned but not yet implemented.
In-file abstract/override pattern - needs restructuring to use cross-module imports.
Failure Output
Showing last 10 of 245 lines
debug(module_resolver): ✓ Resolved via fallback 1/1
debug(module_resolver):
═══ ModuleResolver.resolveBoth() ═══
debug(module_resolver): Import path: '$std/index.kz'
... [truncated - 17KB total] Code
// Test 430_003: Abstract with Override Only (No Default)
// When an abstract event has an override but NO default:
// - The override IS the handler
// - Calling `event.default()` would be a compiler error (no default exists!)
//
// This is "provide the implementation" pattern.
~import "$std/io"
// Define abstract event with NO default implementation
~[abstract] event greet { name: []const u8 }
| greeted []const u8
// Provide the ONLY implementation (this becomes the handler)
~greet = greeted { message: name }
// Use it
~greet(name: "world")
| greeted g |> io.println(message: g.message)
Expected
world