[GHC] #4488: Warn about unnecessary fromIntegral and other
conversions
GHC
cvs-ghc at haskell.org
Wed Nov 10 13:55:46 EST 2010
#4488: Warn about unnecessary fromIntegral and other conversions
---------------------------------+------------------------------------------
Reporter: mitar | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.12.3 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
GHC should report unnecessary fromIntegral and other conversions.
Sometimes you change the type later on and fromIntegral stays in the code
but it is not necessary anymore. HLint cannot do that because it does not
know about types.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4488>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list