summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearPatSyn.stderr
blob: 965cd086a20e97d5ded0665fb43f0c6d7e8f7bc3 (plain)
1
2
3
4
5
6

LinearPatSyn.hs:13:4: error: [GHC-18872]
    • Couldn't match type ‘Many’ with ‘One’
        arising from a non-linear pattern
    • In the pattern: P y x
      In an equation for ‘s’: s (P y x) = (y, x)