[GHC] #11572: BangPatterns-related behavior regressions on GHC 8.0

GHC ghc-devs at haskell.org
Thu Feb 18 12:52:27 UTC 2016


#11572: BangPatterns-related behavior regressions on GHC 8.0
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"01449eb552daa082e46ceaaf8481708ee73dc2ad/ghc" 01449eb/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="01449eb552daa082e46ceaaf8481708ee73dc2ad"
 Fix desugaring of bang-pattern let-bindings

 When implementing Strict Haskell, the patch 46a03fbe didn't faithfully
 implement the semantics given in the manual. In particular there was
 an ad-hoc case in mkSelectorBinds for "strict and no binders" that
 didn't work.

 This patch fixes it, curing Trac #11572.

 Howver it forced me to think about banged let-bindings, and I rather
 think we do not have quite the right semantics yet, so I've opened
 Trac #11601.
 }}}

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


More information about the ghc-tickets mailing list