mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 14:32:53 +00:00
Fix type mismatch with future logging (#19131)
This commit is contained in:
@@ -225,7 +225,7 @@ proc complete*[T](future: FutureVar[T], val: T) =
|
||||
fut.finished = true
|
||||
fut.value = val
|
||||
fut.callbacks.call()
|
||||
when isFutureLoggingEnabled: logFutureFinish(future)
|
||||
when isFutureLoggingEnabled: logFutureFinish(fut)
|
||||
|
||||
proc fail*[T](future: Future[T], error: ref Exception) =
|
||||
## Completes `future` with `error`.
|
||||
|
||||
Reference in New Issue
Block a user