newruntime for async (#11650)
* fixes overloading resolution for passing owned(Future[string]) to Future[T] * WIP: make --newruntime work with .async * memtracker: make it compile again * make Nimble compile again
This commit is contained in:
parent
d914dca513
commit
5f515410af
12 changed files with 60 additions and 47 deletions
|
|
@ -80,7 +80,7 @@ proc getUnique[T](s: Selector[T]): int {.inline.} =
|
|||
if result == -1:
|
||||
raiseIOSelectorsError(osLastError())
|
||||
|
||||
proc newSelector*[T](): Selector[T] =
|
||||
proc newSelector*[T](): owned(Selector[T]) =
|
||||
var maxFD = 0.cint
|
||||
var size = csize(sizeof(cint))
|
||||
var namearr = [1.cint, MAX_DESCRIPTORS_ID.cint]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue