fixes yet another merge conflict

This commit is contained in:
Araq 2018-06-11 17:17:34 +02:00
commit 1074cc1fb9
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