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

tcfail157.hs:27:10: error:
    • Variable ‘b’ occurs more often
        in the constraint ‘E m a b’
        than in the instance head ‘Foo m (a -> ())’
      (Use UndecidableInstances to permit this)
    • In the instance declaration for ‘Foo m (a -> ())’