Removed oldIterTranf feature

This commit is contained in:
Yuriy Glukhov 2018-06-10 23:42:53 +03:00
commit 5c449c8cd1
5 changed files with 4 additions and 109 deletions

View file

@ -1,18 +0,0 @@
discard """
file: "tasynctry2.nim"
errormsg: "\'yield\' cannot be used within \'try\' in a non-inlined iterator"
line: 14
"""
import asyncdispatch
{.experimental: "oldIterTransf".}
proc foo(): Future[bool] {.async.} = discard
proc test5(): Future[int] {.async.} =
try:
discard await foo()
raise newException(ValueError, "Test5")
except:
discard await foo()
result = 0