bugfixes: macros; splitFile; strutils.split; iterator.method
This commit is contained in:
parent
053309e60a
commit
d5acb88ccc
31 changed files with 177 additions and 95 deletions
8
tests/titer5.nim
Executable file
8
tests/titer5.nim
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
# Test method call syntax for iterators:
|
||||
const lines = """abc xyz"""
|
||||
|
||||
for x in lines.split():
|
||||
stdout.write(x)
|
||||
|
||||
#OUT abcxyz
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue