Skip to content

GHC generates warning about internally generated functions

The source code has this line

data Position = PosTop | PosBottom | PosLeft | PosRight
    deriving (Enum, Show)

And here is the first of many warnings:

../Gmag/Paradise/View/Impl.hs:68:5:
    Warning: Definition but no type signature for `Gmag.Paradise.View.Impl.con2tag_Position#'
             Inferred type: Gmag.Paradise.View.Impl.con2tag_Position# :: Position
                                                                         -> GHC.Prim.Int#

-- Lennart

Trac metadata
Trac field Value
Version 6.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information