This commit is contained in:
Araq 2014-02-14 02:12:07 +01:00
commit f2216b8e32
2 changed files with 13 additions and 0 deletions

View file

@ -21,3 +21,13 @@ q(a)
echo "success"
# bug #833
type
PFuture*[T] = ref object
value*: T
finished*: bool
cb: proc (future: PFuture[T]) {.closure.}
var k = PFuture[void]()