summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod47.stderr
blob: b7ff6562e67892195cd3b09d8333728206f24f1a (plain)
1
2
3
4
5
6
7
8
9

mod47.hs:6:10: error: [GHC-39999]
    • Could not deduce ‘Num a’
        arising from the superclasses of an instance declaration
      from the context: (Eq a, Enum a)
        bound by the instance declaration at mod47.hs:6:10-34
      Possible fix:
        add (Num a) to the context of the instance declaration
    • In the instance declaration for ‘Bar [a]’