Merge branch 'devel' into IOSelector_unregister_fix

This commit is contained in:
Dominik Picheta 2019-10-22 11:31:38 -07:00 • committed by GitHub
commit 92fa7e0579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
94 changed files with 1729 additions and 1223 deletions

View file

@ -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"