fixes #15360 [backport:1.2] (#15378)

This commit is contained in:
Andreas Rumpf 2020-09-21 12:35:23 +02:00 • committed by GitHub
commit c2434d939e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -55,3 +55,10 @@ const
for i in 0..len(stringArray)-1:
echo(stringArray[i])
# bug #15360
type Rule[T] = (int, T)
var t: seq[Rule[int]]
for (c, t) in t:
discard