
#10929: Enumeration-empty warning not firing for `[Integer]` -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: bug | Status: new Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | -------------------------------------+------------------------------------- {{{ 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) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10929 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler