Fix for built-in Natural literals desugaring

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



The recent patch "Built-in Natural literals in Core" ( introduced a regression when desugaring large numbers.

This patch fixes it and adds a regression test.

hsyl20 created this revision.Jun 22 2018, 6:38 AM
bgamari accepted this revision.Jun 24 2018, 2:41 PM
This revision is now accepted and ready to land.Jun 24 2018, 2:41 PM
Closed by commit rGHC987b5e7fbacd: Fix for built-in Natural literals desugaring (authored by Sylvain Henry <>, committed by bgamari). · Explain WhyJul 6 2018, 1:35 PM
This revision was automatically updated to reflect the committed changes.