✗
Failing This test is currently failing.
Failed: backend-exec
Failure Output
error[KORU161]: std/store:watch(c): unknown store - no std/store:new(c) found
--> /Users/larsde/src/koru/tests/regression/100_MODULE_SYSTEM/115_COMPTIME_MIRROR/115_021_store_watch_in_module/lib.k:6:0 Code
// MIRROR of 220_017_effect_branch_multiline_chain: a `std/store:watch`
// subscription with a multi-line continuation chain, and the write that fires
// it, inside an imported module.
//
// A watch compiles INTO the write path rather than registering at runtime, so
// the subscription body and the write site have to resolve to one synthesized
// write-subflow. Both live in the module here, which is the case a library with
// private reactive state is made of.
import app/lib
app/lib:run()
Expected output
a
b
d
Flows
flow ~run click a branch to expand · @labels scroll to their anchor
run
Test Configuration
MUST_RUN