Merge branch 'devel' into IOSelector_unregister_fix
This commit is contained in:
commit
92fa7e0579
94 changed files with 1729 additions and 1223 deletions
|
|
@ -43,4 +43,14 @@ block: #8399
|
|||
|
||||
waitFor foo("$asd")
|
||||
|
||||
block: # nkCheckedFieldExpr
|
||||
proc bar(): Future[JsonNode] {.async.} =
|
||||
return newJInt(5)
|
||||
|
||||
proc foo() {.async.} =
|
||||
let n = 10 + (await bar()).num
|
||||
doAssert(n == 15)
|
||||
|
||||
waitFor foo()
|
||||
|
||||
echo "ok"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue