summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearTHFail.stderr
blob: 7570fcb546595562f241da81e84581d8aea48831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

LinearTHFail.hs:8:3: error: [GHC-18872]
    • Couldn't match type ‘Many’ with ‘One’
        arising from multiplicity of ‘x’
    • In an equation for ‘f’:
          f x
            = [| Just $x |]
              pending(rn) [<spn, x>]

LinearTHFail.hs:11:3: error: [GHC-18872]
    • Couldn't match type ‘Many’ with ‘One’
        arising from multiplicity of ‘x’
    • In an equation for ‘g’: g x = [|| Just $$x ||]