fix: allFuturesThrowing compilation issue on daily (#1026)
This commit is contained in:
parent
c5e4f8e12d
commit
7faa0fac23
|
@ -45,8 +45,8 @@ macro checkFutures*[F](futs: seq[F], exclude: untyped = []): untyped =
|
|||
debug "A future has failed, enable trace logging for details", error=exc.name
|
||||
trace "Exception details", msg=exc.msg
|
||||
|
||||
proc allFuturesThrowing*[T](args: varargs[Future[T]]): Future[void] =
|
||||
var futs: seq[Future[T]]
|
||||
proc allFuturesThrowing*[F: FutureBase](args: varargs[F]): Future[void] =
|
||||
var futs: seq[F]
|
||||
for fut in args:
|
||||
futs &= fut
|
||||
proc call() {.async.} =
|
||||
|
|
Loading…
Reference in New Issue