[GHC] #13669: Identifier "Otherwise" in guarded equation can crash a program

GHC ghc-devs at haskell.org
Tue May 9 13:35:13 UTC 2017


#13669: Identifier "Otherwise" in guarded equation can crash a program
-------------------------------------+-------------------------------------
        Reporter:  vanto             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 I'm with @bgamari here -- I see nothing unsettling about the original
 program. Note that GHC correctly identifies the pattern-match as non-
 exhaustive.

 Regardless of our opinions, writing up a [https://github.com/ghc-proposals
 /ghc-proposals proposal] is the official way to suggestions changes to the
 language GHC compiles. You may wish to do so.

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


More information about the ghc-tickets mailing list