#1306: GHC generates warning about internally generated functions
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.7
Severity: normal | Keywords:
Difficulty: Unknown | Os: Windows
Testcase: | Architecture: Unknown
-----------------------+----------------------------------------------------
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
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1306>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs