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

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

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