[GHC] #14163: Stack Overflow with ApplicativeDo

GHC ghc-devs at haskell.org
Fri Sep 8 03:55:32 UTC 2017


#14163: Stack Overflow with ApplicativeDo
-------------------------------------+-------------------------------------
        Reporter:  lippling          |                Owner:  simonmar
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.2
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:  ApplicativeDo
Operating System:  MacOS X           |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3900
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by David Feuer <David.Feuer@…>):

 In [changeset:"011e15aa2d6949fc56126f1028ea25d5497196d9/ghc"
 011e15aa/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="011e15aa2d6949fc56126f1028ea25d5497196d9"
 Deal with unbreakable blocks in Applicative Do

 The renamer wasn't able to deal with more than a couple strict
 patterns in a row with `ApplicativeDo` when using the heuristic
 splitter. Update it to work with them properly.

 Reviewers: simonmar, austin, bgamari, hvr

 Reviewed By: simonmar

 Subscribers: RyanGlScott, lippling, rwbarton, thomie

 GHC Trac Issues: #14163

 Differential Revision: https://phabricator.haskell.org/D3900
 }}}

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


More information about the ghc-tickets mailing list