[GHC] #14105: ApplicativeDo causes GHC panic on irrefutable list pattern match

GHC ghc-devs at haskell.org
Tue Nov 28 11:08:43 UTC 2017


#14105: ApplicativeDo causes GHC panic on irrefutable list pattern match
-------------------------------------+-------------------------------------
        Reporter:  BoteboTsebo       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:  ApplicativeDo
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by BoteboTsebo):

 @lipping I believe it is still broken in 8.2.2 since it hasn't been merged
 in, since it lacks a test case.

 I am not sure how test cases work in GHC, thus I don't have the confidence
 that I could create one myself. I'll look around for a few fixed bugs and
 see how their test cases were structured, and hopefully (very unlikely
 with my current knowledge) come up with a commit or two to complete this
 fix.

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


More information about the ghc-tickets mailing list