Hello, I find closure function types are Compatible with nimcall.But I must put firstClosureDoNotingfunction in the first element of sequence.As below, m1, m2 is right, but m3 is wrong.Whether exists some ways make m3 right?
type
HandlerAsync* = proc(ctx: Context): Future[void] {.closure, gcsafe.}
Middlewares* = seq[HandlerAsync]
var m1: Middlewares = @[closurefunction1, closurefunction2]
var m2: Middlewares = @[firstClosureDoNotingfunction, nimcallfunction1, nimcallfunction2]
var m3: Middlewares = @[nimcallfunction1, nimcallfunction2]