summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-06-11 16:45:35 +0200
committerGitHub <noreply@github.com>2018-06-11 16:45:35 +0200
commit76676cb79f08f28744ae05c7888832e65c8b4280 (patch)
tree58382edbe038d2750cc1f71cbe27198cfe342606 /tests
parent657062145ba5303d68e107a6f5fc50513b9d7f49 (diff)
parent5c449c8cd112139f430d3be67effffb304aeb521 (diff)
downloadNim-76676cb79f08f28744ae05c7888832e65c8b4280.tar.gz
Merge pull request #8009 from yglukhov/remove-oldIterTransf
Removed oldIterTranf feature
Diffstat (limited to 'tests')
-rw-r--r--tests/async/tasynctry2.nim18
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