delete list comprehension (#12392)

The `lc` macro is now part of `graveyard` repository.
This commit is contained in:
Arne Döring 2019-11-22 19:57:43 +01:00 • committed by Miran
commit 2acf74d458
3 changed files with 1 additions and 67 deletions

View file

@ -92,11 +92,3 @@ proc foldLeft*[T,U](xs: List[T], z: U, f: (U, T) -> U): U =
case xs.isEmpty
of true: z
else: foldLeft(xs.tail, f(z, xs.head), f)
suite "unittest compilation error":
test "issue 3313":
let lst = lc[$x | (x <- 'a'..'z'), string].asList
let lstCopy = lst.dup
check: lstCopy == lst