fix: allFuturesThrowing compilation issue on daily (#1026)

This commit is contained in:
diegomrsantos 2024-02-19 19:46:34 +01:00 committed by GitHub
parent c5e4f8e12d
commit 7faa0fac23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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.} =