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

T12083b.hs:6:5: error:
    • Illegal qualified type: Eq a => r
      Perhaps you intended to use RankNTypes or Rank2Types
    • When checking the class method:
        test :: forall a r. Class a => a -> (Eq a => r) -> r
      In the class declaration for ‘Class’