Enumeration-empty warning not firing for `[Integer]`
GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help
λ:2> [10..4] :: [Integer]
[]
it :: [Integer]
λ:3> [10..4] :: [Int]
<interactive>:3:1: Warning: Enumeration is empty
[]
it :: [Int]
λ:4> [10..4] :: [Word]
<interactive>:4:1: Warning: Enumeration is empty
[]
it :: [Word]
(Trivial to fix, patch following shortly)
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |