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

tcfail184.hs:9:19: error:
    • Illegal polymorphic type: forall a. Ord a => [a] -> [a]
      Perhaps you intended to use RankNTypes
    • In the definition of data constructor ‘MkSwizzle’
      In the newtype declaration for ‘Swizzle’