You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: convert all handlers to closure-typed HandlerAsync for Nim 2.0
Nim 2.0 doesn't implicitly convert top-level procs to closures.
Prologue's addRoute expects HandlerAsync (a closure type), but
top-level `proc` declarations have `{.nimcall.}` convention.
Previous fix only converted the middleware — now all handlers are
`let` variables typed `HandlerAsync`, which forces the proc
literal to be treated as a closure. Fixes the gcsafe/nimcall
mismatch build error.
0 commit comments