1 2 3 4 5 6 7 8 9
import asyncdispatch when true: # bug #2377 proc test[T](v: T) {.async.} = echo $v asyncCheck test[int](1)