summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T13202a.stderr
blob: a2a6704432e0fa394c783bd441b82ed96e1ed119 (plain)
1
2
3
4
5
6

<interactive>:4:5: error:
    • Non type-variable argument in the constraint: HasField "name" r a
    • When checking the inferred type
        foo :: forall {r} {a}. HasField "name" r a => r -> a
    Suggested fix: Perhaps you intended to use FlexibleContexts