Ticket #4488 (closed feature request: fixed)
Warn about unnecessary fromIntegral and other conversions
|Reported by:||mitar||Owned by:|
|Type of failure:||None/Unknown||Difficulty:|
|Test Case:||deSugar/should_compile/T4488||Blocked By:|
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.