This commit is contained in:
Araq 2014-12-15 02:15:11 +01:00
commit 61c5c92f09
4 changed files with 9 additions and 4 deletions

View file

@ -28,7 +28,7 @@ iterator foo[T](x: iterator: T{.inline.}): T =
var s = @[1, 2, 3]
# pass an interator several levels deep:
# pass an iterator several levels deep:
for x in s.items.foo:
echo x

View file

@ -1,6 +1,7 @@
discard """
msg: "static 10\ndynamic\nstatic 20\n"
output: "s\nd\nd\ns"
disabled: "true"
"""
proc foo(x: semistatic[int]) =