summary refs log tree commit diff stats
path: root/tests/concepts/tmanual.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-12-03 01:07:51 +0100
committerAraq <rumpf_a@web.de>2015-12-03 01:08:03 +0100
commit760242b870eb2c9054ef31489abbb230bb56eb72 (patch)
treef7f93549edd5ab3799270fe623eea1703edae694 /tests/concepts/tmanual.nim
parent50e83d6433dd60a101c02016f3effcb34c04efd5 (diff)
downloadNim-760242b870eb2c9054ef31489abbb230bb56eb72.tar.gz
removes 'x is iterator' special casing in the language
Diffstat (limited to 'tests/concepts/tmanual.nim')
-rw-r--r--tests/concepts/tmanual.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/concepts/tmanual.nim b/tests/concepts/tmanual.nim
index 7cf08af06..43290a6ad 100644
--- a/tests/concepts/tmanual.nim
+++ b/tests/concepts/tmanual.nim
@@ -23,7 +23,7 @@ template reject(e: expr) =
 type
   Container[T] = concept c
     c.len is Ordinal
-    items(c) is iterator
+    items(c) is T
     for value in c:
       type(value) is T