summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearLazyPat.stderr
blob: 82fb02725b4bc6a985059654beb12eb410574718 (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)