summaryrefslogtreecommitdiff
path: root/testsuite/tests/backpack/should_fail/bkpfail28.stderr
blob: ef8d72cfe3fe5c8c630589ee6bb2e96d0a17ea12 (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 4] Compiling A[sig]           ( r/A.hsig, nothing )
  [2 of 4] Compiling R                ( r/R.hs, nothing )

bkpfail28.bkp:19: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:12:18
        instance [safe] Read a => Show (K a)
          -- Defined at bkpfail28.bkp:12:18
    • In the expression: show
      In an equation for ‘f’: f = show

bkpfail28.bkp:21: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:12:18
        instance [safe] Read a => Show (K a)
          -- Defined at bkpfail28.bkp:12:18
    • In the expression: show
      In an equation for ‘g’: g = show