summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail184.stderr
blob: 20920d822b398fb6000a486d53511a8d01ebd4f4 (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'