[GHC] #10498: "if ... then \case -> else ..." causes a "missing else clause" error

GHC ghc-devs at haskell.org
Sun Jun 7 04:34:50 UTC 2015


#10498: "if ... then \case -> else ..." causes a "missing else clause" error
-------------------------------------+-------------------------------------
        Reporter:  dramforever       |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
  (Parser)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  Other             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by dramforever):

 I ran into this in another more complex program yesterday. It took me 15
 mins to find out the real cause of the error.

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


More information about the ghc-tickets mailing list