summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc076.hs
blob: 493e967efa4c97d86230046b01bcb9cb77c87bb6 (plain)
1
2
3
4
5
6
7
8
-- !!! scoping in list comprehensions right way 'round?
-- a bug reported by Jon Hill
--
module ShouldSucceed where

x = [[True]]
xs :: [Bool]
xs = [x | x <- x, x <- x]