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

LinearLazyPat.hs:5:3: error: [GHC-18872]
    • Couldn't match type ‘'Many’ with ‘'One’
        arising from a non-linear pattern
    • In the pattern: ~(x, y)
      In an equation for ‘f’: f ~(x, y) = (y, x)