summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail164.stderr
blob: 65f9c9f9ac74507f47600ddf7f8519d6a457ac57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

tcfail164.hs:11:5:
    Bad call to tagToEnum# at type a
      Specify the type by giving a type signature
      e.g. (tagToEnum# x) :: Bool
    In the expression: tagToEnum# 0#
    In an equation for `f': f = tagToEnum# 0#

tcfail164.hs:17:34:
    Bad call to tagToEnum# at type Int
      Result type must be an enumeration type
    In the expression: tagToEnum# value#
    In an equation for `readUnboxable':
        readUnboxable (I# value#) = tagToEnum# value#
    In the instance declaration for `Unboxable Int'