Issue #6

suspend() in a generic .passive proc was mis-typed

Symptom

A generic .passive proc that called suspend() failed on instantiation with “Continuation must be discarded”.

Root cause

semSuspend typed the (suspend) expression as Continuation, but suspend is void — so the instantiation saw a stray Continuation value it insisted be discarded.

The fix

Type (suspend) as void.

Files touched: nimony/sem.nim

Verification

Covered by cps suite.


Back to top

aoughwl — next-gen self-hosted platform for things n stuff. Reach out on Discord (timbuktu_guy) for access to the private backends.

This site uses Just the Docs, a documentation theme for Jekyll.