async_void :: ufcs (io, worker: Closure() -> $R) -> Future($R) was redundant: the variadic async :: ufcs (io, worker: Closure(..$args) -> $R, ..$args) binds $args to the empty pack, so context.io.async(() -> $R => ...) already calls worker() and returns Future($R). The name was also misleading — it returns Future($R), not void (a true void form is Future(void), separate, blocked by issue 0150). Removed the definition (std/io.sx) + the std.sx re-export; nothing else referenced it. Locked the nullary path in examples/1805 (prints nullary: 42) so the coverage async_void provided is not lost. Suite green 736/0.
5 lines
40 B
Plaintext
5 lines
40 B
Plaintext
sum: 42
|
|
double: 42
|
|
nullary: 42
|
|
clock ok
|