summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci044.stderr
blob: 716f46e12ef8505f1827a72c8a0bd085f05ac190 (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 [Int] -- Defined at <interactive>:6:10
        instance [safe] C a => C [a] -- Defined at <interactive>:8:10
    • In the expression: f [4 :: Int]
      In an equation for ‘it’: it = f [4 :: Int]