diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2018-06-10 23:42:53 +0300 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2018-06-10 23:42:53 +0300 |
commit | 5c449c8cd112139f430d3be67effffb304aeb521 (patch) | |
tree | 8d5dea537d036e1ccf0e0f1b55431241e080f1d9 /tests/async | |
parent | 5f2cdcd4fa0f3d5dd0156026c0685aa59d9f7f92 (diff) | |
download | Nim-5c449c8cd112139f430d3be67effffb304aeb521.tar.gz |
Removed oldIterTranf feature
Diffstat (limited to 'tests/async')
-rw-r--r-- | tests/async/tasynctry2.nim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/async/tasynctry2.nim b/tests/async/tasynctry2.nim deleted file mode 100644 index 4b3f17cc5..000000000 --- a/tests/async/tasynctry2.nim +++ /dev/null @@ -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 |