diff --git a/tests/reject/titer4.nim b/tests/reject/titer4.nim index d9d8855439..9b52f8055b 100755 --- a/tests/reject/titer4.nim +++ b/tests/reject/titer4.nim @@ -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