summary refs log tree commit diff stats
path: root/tests/iter
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2019-10-11 08:43:58 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-10-11 08:43:58 +0200
commit7cf3395d857d2e05fb3a83dc67173a69c828807f (patch)
treea965c85256ed00c23375fec7f49c3408b2b0ac9f /tests/iter
parent245a954b250b3e95f68c6bdadeba6ef1425442aa (diff)
downloadNim-7cf3395d857d2e05fb3a83dc67173a69c828807f.tar.gz
refactor illegal iterator assignment detection (#12212)
* refactor illegal iterator assignment detection

* delete crappy test
Diffstat (limited to 'tests/iter')
-rw-r--r--tests/iter/titerassignerr.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/iter/titerassignerr.nim b/tests/iter/titerassignerr.nim
deleted file mode 100644
index caa56c4ad..000000000
--- a/tests/iter/titerassignerr.nim
+++ /dev/null
@@ -1,8 +0,0 @@
-discard """
-  errormsg: "inline iterators are not first-class / cannot be assigned to variables"
-  line: 8
-"""
-
-iterator foo: int =
-  yield 2
-let x = foo