fixes recently introduced regression
This commit is contained in:
parent
e5fd84c559
commit
5432b2b83a
2 changed files with 55 additions and 15 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue