summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17355.stderr
blob: 36bc73aa60f351e4ee59298aa770bb7a56d2fa62 (plain)
1
2
3
4
5
6
7
8
9

T17355.hs:9:10: error: [GHC-91510]
    • Illegal polymorphic type: forall a. a
    • In the instance declaration for ‘Generic (forall a. a)’

T17355.hs:10:10: error: [GHC-91510]
    • Illegal polymorphic type: forall a. a -> a
    • In the instance declaration for
        ‘HasField "myPoly" Foo (forall a. a -> a)’