summary refs log blame commit diff stats
path: root/tests/accept/compile/tseqcon2.nim
blob: 6225c3bb1242cb64bc0b9a90b9cc188565912f4c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                        
import os

proc rec_dir(dir: string): seq[string] =
  result = @[]
  for kind, path in walk_dir(dir):
    if kind == pcDirectory:
      add(result, rec_dir(path))
    else:
      add(result, path)