[GHC] #15301: Regression in Natural desugaring

GHC ghc-devs at haskell.org
Fri Jul 6 18:10:02 UTC 2018


#15301: Regression in Natural desugaring
-------------------------------------+-------------------------------------
        Reporter:  hsyl20            |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4885
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"987b5e7fbacd8afd2c8463c16eac28cd68f43155/ghc" 987b5e7/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="987b5e7fbacd8afd2c8463c16eac28cd68f43155"
 Fix for built-in Natural literals desugaring

 The recent patch "Built-in Natural literals in Core"
 (https://phabricator.haskell.org/rGHCfe770c211631e7b4c9b0b1e88ef9b6046c6
 585ef) introduced a regression when desugaring large numbers.

 This patch fixes it and adds a regression test.

 Reviewers: hvr, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15301

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

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


More information about the ghc-tickets mailing list