[GHC] #10792: Bounded Enums [minBound..maxBound] produces runtime error

GHC ghc-devs at haskell.org
Tue Aug 25 11:27:45 UTC 2015


#10792: Bounded Enums [minBound..maxBound] produces runtime error
-------------------------------------+-------------------------------------
        Reporter:                    |                   Owner:  ekmett
  AlexanderThiemann                  |
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Since it's a runtime error, can you offer a `Main` module so that if you
 compile and run the example you get the exception?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10792#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list