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
parent c85e266d1d
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