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

UnliftedNewtypesMismatchedKindRecord.hs:11:23: error:
    • Expected kind ‘TYPE 'IntRep’,
        but ‘Word#’ has kind ‘TYPE 'WordRep’
    • In the type ‘Word#’
      In the definition of data constructor ‘FooC’
      In the newtype declaration for ‘Foo’