summary refs log tree commit diff stats
path: root/tests/accept/compile/tseqcon2.nim
blob: 4f2763ffe12b6c6c2a42de226c21ee4c5338ce60 (plain) (blame)
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 == pcDir:
      add(result, rec_dir(path))
    else:
      add(result, path)