fixes recently introduced regression

This commit is contained in:
Araq 2014-08-21 09:59:57 +02:00
commit 5432b2b83a
2 changed files with 55 additions and 15 deletions

View file

@ -1,5 +1,9 @@
discard """
output: '''10'''
output: '''10
true true
true false
false true
false false'''
"""
var
@ -31,3 +35,10 @@ iterator permutations: int =
for p in permutations():
break
# regression:
proc main =
for x in [true, false]:
for y in [true, false]:
echo x, " ", y
main()