summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T17380.stderr
blob: 358e7f34f2c2d874d88b2ff6d5456dd33a46d9bd (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
36
37
38
39

T17380.hs:9:7: error:
    • Couldn't match expected type ‘Solo (Maybe String)’
                  with actual type ‘Maybe [Char]’
    • In the expression: Just "wat"
      In an equation for ‘foo’: foo = Just "wat"

T17380.hs:12:8: error:
    • Couldn't match expected type ‘Maybe String’
                  with actual type ‘Solo (Maybe [Char])’
    • In the expression: Solo Just "wat"
      In an equation for ‘bar’: bar = (Solo Just "wat")

T17380.hs:15:6: error:
    • Couldn't match expected type ‘Solo (Maybe String)’
                  with actual type ‘Maybe [Char]’
    • In the pattern: Just "wat"
      In an equation for ‘baz’: baz (Just "wat") = Just "frerf"

T17380.hs:18:7: error:
    • Couldn't match expected type ‘Maybe String’
                  with actual type ‘Solo (Maybe [Char])’
    • In the pattern: Solo(Just "wat")
      In an equation for ‘quux’: quux (Solo(Just "wat")) = Just "frerf"

T17380.hs:21:8: error:
    • Couldn't match type ‘Maybe String’ with ‘'Solo (Maybe String)’
      Expected type: Proxy ('Solo (Maybe String))
        Actual type: Proxy (Maybe String)
    • In the expression: Proxy :: Proxy (Maybe String)
      In an equation for ‘quuz’: quuz = Proxy :: Proxy (Maybe String)

T17380.hs:24:8: error:
    • Couldn't match type ‘'Solo (Maybe String)’ with ‘Maybe String’
      Expected type: Proxy (Maybe String)
        Actual type: Proxy ('Solo (Maybe String))
    • In the expression: Proxy :: Proxy ('Solo Maybe String)
      In an equation for ‘fred’:
          fred = Proxy :: Proxy ('Solo Maybe String)