From 374706b1c3e6ceec6d514c1a1ac01ec6facb6dc7 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Sun, 13 Jul 2014 10:19:48 +0100 Subject: Void futures are no longer discardable. --- lib/pure/httpclient.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pure/httpclient.nim') diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim index be06a7b8e..9bacc80d6 100644 --- a/lib/pure/httpclient.nim +++ b/lib/pure/httpclient.nim @@ -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: -- cgit 1.4.1-2-gfad0 ue='7dfadb8b4e95d09981fbeb01d85b12f23946c3e7'>this commit This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/changelog.md
blob: 0d7030cd4a1dfbe9dd9c223eede68789d0cb92ad (plain) (tree)
1
2
3
4
5
6
7
8