✓
Passing This code compiles and runs correctly.
Code
import std/io
import app/lib/greet
import app/discount
app/lib/greet:greet(name: "world")
| greeted g |> std/io:print.ln("{{ g:s }}")
| skipped |> std/io:print.ln("skipped")
Supporting Files
// The override module: qualifies the abstract's module from a DIFFERENT
// module — the cross-module override, living module-resident (430_014's
// shape, applied to a user-library runtime abstract instead of the
// coordinator).
import app/lib/greet
app/lib/greet:greet => greeted "overridden"
// The library module: declares the abstract and its own default answer.
// The unqualified impl is THIS module's own implementation — the default —
// never an override (its home is the abstract's own module).
[abstract] pub tor greet { name: string }
| greeted string
| skipped
greet => greeted "default"
Actual
overridden
Expected output
overridden
Flows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "world")
Test Configuration
MUST_RUN