summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci044.stderr
blob: 668388dea833ad1078e5e923b99e4746a756cb56 (plain)
1
2
3
4
5
6
7
8

<interactive>:9:1: error:
    • Overlapping instances for C [Int] arising from a use of ‘f’
      Matching instances:
        instance [safe] C a => C [a] -- Defined at <interactive>:8:10
        instance [safe] C [Int] -- Defined at <interactive>:6:10
    • In the expression: f [4 :: Int]
      In an equation for ‘it’: it = f [4 :: Int]