
#16313: Core Lint warning (Unsafe coercion: {left,right}-hand type is levity- polymorphic) -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): Yes. Or at least such a warning is enabled by something other than `-dcore-lint`. Presumably, that unsafe coerce was written by the user. `-dcore-lint` should be used exclusively for finding GHC bugs. That is a user bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16313#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler