summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci052.stderr
blob: 047ab5e96668073641d09d5c9c4cedde4c78ee27 (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
28
29
30
31
32
33
34
35

<interactive>:8:4: error:
    • Couldn't match expected type ‘Ghci1.Planet’
                  with actual type ‘Planet’
      NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37
          ‘Planet’ is defined at <interactive>:7:1-36
    • In the first argument of ‘pn’, namely ‘Mercury’
      In the expression: pn Mercury
      In an equation for ‘it’: it = pn Mercury

<interactive>:9:4: error:
    • Couldn't match expected type ‘Ghci1.Planet’
                  with actual type ‘Planet’
      NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37
          ‘Planet’ is defined at <interactive>:7:1-36
    • In the first argument of ‘pn’, namely ‘Venus’
      In the expression: pn Venus
      In an equation for ‘it’: it = pn Venus

<interactive>:10:4: error:
    • Couldn't match expected type ‘Ghci1.Planet’
                  with actual type ‘Planet’
      NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37
          ‘Planet’ is defined at <interactive>:7:1-36
    • In the first argument of ‘pn’, namely ‘Mars’
      In the expression: pn Mars
      In an equation for ‘it’: it = pn Mars

<interactive>:12:44: error:
    • Couldn't match expected type ‘Planet’
                  with actual type ‘Ghci1.Planet’
      NB: ‘Planet’ is defined at <interactive>:7:1-36
          ‘Ghci1.Planet’ is defined at <interactive>:4:1-37
    • In the pattern: Earth
      In an equation for ‘pn’: pn Earth = "E"