summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr
blob: 709b3b4c65d451d17829758b908fef1611c14194 (plain)
1
2
3
4
5
6
7
8

LinearConfusedDollar.hs:12:7: error: [GHC-83865]
    • Couldn't match type ‘One’ with ‘Many’
      Expected: a -> a
        Actual: a %1 -> a
    • In the first argument of ‘($)’, namely ‘f’
      In the expression: f $ x
      In an equation for ‘g’: g x = f $ x