Fix for built-in Natural literals desugaring
ClosedPublic

Authored by hsyl20 on Fri, Jun 22, 6:38 AM.

Details

Summary

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

This patch fixes it and adds a regression test.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hsyl20 created this revision.Fri, Jun 22, 6:38 AM
bgamari accepted this revision.Sun, Jun 24, 2:41 PM
This revision is now accepted and ready to land.Sun, Jun 24, 2:41 PM
Closed by commit rGHC987b5e7fbacd: Fix for built-in Natural literals desugaring (authored by Sylvain Henry <hsyl20@gmail.com>, committed by bgamari). · Explain WhyFri, Jul 6, 1:35 PM
This revision was automatically updated to reflect the committed changes.