[GHC] #10929: Enumeration-empty warning not firing for `[Integer]`

#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

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

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

#10929: Enumeration-empty warning not firing for `[Integer]` -------------------------------------+------------------------------------- Reporter: hvr | Owner: hvr Type: bug | Status: new Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | numeric/should_compile/T10929.hs Blocked By: | Blocking: Related Tickets: #7881 | Differential Rev(s): Phab:D1305 -------------------------------------+------------------------------------- Changes (by hvr): * testcase: => numeric/should_compile/T10929.hs * differential: => Phab:D1305 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10929#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10929: Enumeration-empty warning not firing for `[Integer]` -------------------------------------+------------------------------------- Reporter: hvr | Owner: hvr Type: bug | Status: patch Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | numeric/should_compile/T10929.hs Blocked By: | Blocking: Related Tickets: #7881 | Differential Rev(s): Phab:D1305 -------------------------------------+------------------------------------- Changes (by hvr): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10929#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10929: Enumeration-empty warning not firing for `[Integer]`
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: bug | Status: patch
Priority: low | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| numeric/should_compile/T10929.hs
Blocked By: | Blocking:
Related Tickets: #7881 | Differential Rev(s): Phab:D1305
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#10929: Enumeration-empty warning not firing for `[Integer]` -------------------------------------+------------------------------------- Reporter: hvr | Owner: hvr Type: bug | Status: closed Priority: low | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | numeric/should_compile/T10929.hs Blocked By: | Blocking: Related Tickets: #7881 | Differential Rev(s): Phab:D1305 -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10929#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC