mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 03:03:57 +00:00
implicit invokation of items/pairs iterators
This commit is contained in:
4
tests/compile/timplicititems.nim
Normal file
4
tests/compile/timplicititems.nim
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
for x in [1, 2, 3, 4]:
|
||||
echo x
|
||||
|
||||
Reference in New Issue
Block a user