Void futures are no longer discardable.
This commit is contained in:
parent
634a416c67
commit
374706b1c3
3 changed files with 18 additions and 12 deletions
|
|
@ -654,7 +654,7 @@ when isMainModule:
|
|||
resp = await client.request("http://nimrod-lang.org/download.html")
|
||||
echo("Got response: ", resp.status)
|
||||
|
||||
main()
|
||||
asyncCheck main()
|
||||
runForever()
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue