blob: ab704238a7085c6d274d570e7699c58430aaa176 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
discard """
output: '''123
abc'''
"""
# bug #4856
import asyncdispatch
proc say[T](t: T): Future[void] {.async.} =
echo $t
waitFor(say(123))
waitFor(say("abc"))
|