summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail184.stderr
blob: cfb89422dc7f3ab1c2a266fbec89b50572775f6f (plain)
1
2
3
4
5
6
7

tcfail184.hs:8:19:
    Illegal polymorphic or qualified type:
      forall a. Ord a => [a] -> [a]
    Perhaps you intended to use -XRankNTypes or -XRank2Types
    In the definition of data constructor ‛MkSwizzle’
    In the newtype declaration for ‛Swizzle’