mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 07:43:26 +00:00
adapted titer4 test because of new implicit items/pairs iterators
This commit is contained in:
@@ -3,8 +3,8 @@ discard """
|
||||
line: 7
|
||||
errormsg: "iterator within for loop context expected"
|
||||
"""
|
||||
|
||||
for x in {'a'..'z'}: #ERROR_MSG iterator within for loop context expected
|
||||
# implicit items/pairs, but not if we have 3 for loop vars:
|
||||
for x, y, z in {'a'..'z'}: #ERROR_MSG iterator within for loop context expected
|
||||
nil
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user