summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearIf.stderr
blob: 122d1f9a8e7e783d3e10b31ee561e06571205a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

LinearIf.hs:13:3: error: [GHC-18872]
    • Couldn't match type ‘'Many’ with ‘'One’
        arising from multiplicity of ‘b’
    • In an equation for ‘f’: f b x y = if b then x else y

LinearIf.hs:13:5: error: [GHC-18872]
    • Couldn't match type ‘'Many’ with ‘'One’
        arising from multiplicity of ‘x’
    • In an equation for ‘f’: f b x y = if b then x else y

LinearIf.hs:13:7: error: [GHC-18872]
    • Couldn't match type ‘'Many’ with ‘'One’
        arising from multiplicity of ‘y’
    • In an equation for ‘f’: f b x y = if b then x else y