summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17955.stderr
blob: 3b5a5b2676b1d2cb91e9f7c963beeae8bd6389f3 (plain)
1
2
3
4
5
6

T17955.hs:6:13: error: [GHC-17440]
    • A newtype constructor must not have a context in its type
      T :: Coercible () T => () -> T
    • In the definition of data constructor ‘T’
      In the newtype declaration for ‘T’