summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail28.stderr
blob: 4428da9a41e1e2e1d2d406a547bf931a8600ea18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[1 of 3] Processing p
  [1 of 1] Compiling A[sig]           ( p/A.hsig, nothing )
[2 of 3] Processing q
  [1 of 1] Compiling A[sig]           ( q/A.hsig, nothing )
[3 of 3] Processing r
  [1 of 2] Compiling A[sig]           ( r/A.hsig, nothing )
  [2 of 2] Compiling R                ( r/R.hs, nothing )

bkpfail28.bkp:18:13: error:
    • Overlapping instances for Show (K a) arising from a use of ‘show’
      Matching instances:
        instance [safe] Show a => Show (K a)
          -- Defined at bkpfail28.bkp:11:18
        instance [safe] Read a => Show (K a)
          -- Defined at bkpfail28.bkp:11:18
    • In the expression: show
      In an equation for ‘f’: f = show

bkpfail28.bkp:20:13: error:
    • Overlapping instances for Show (K a) arising from a use of ‘show’
      Matching instances:
        instance [safe] Show a => Show (K a)
          -- Defined at bkpfail28.bkp:11:18
        instance [safe] Read a => Show (K a)
          -- Defined at bkpfail28.bkp:11:18
    • In the expression: show
      In an equation for ‘g’: g = show