PrelRules: Fix constant folding for WordRemOp
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 14 Mar 2016 12:27:00 +0000 (13:27 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 20 Mar 2016 15:05:43 +0000 (16:05 +0100)
commit3ddfcc95cd41dac19c8f4d55e8fc03128b77b738
tree53eb0cd3a58c2b82246c7156327c388cde2784f4
parent220a0b934c71a8844a14dd8cd67fa0e23f807182
PrelRules: Fix constant folding for WordRemOp

Test Plan: Validate with testcase in D2002

Reviewers: austin, simonpj

Reviewed By: simonpj

Subscribers: simonpj, thomie

Differential Revision: https://phabricator.haskell.org/D2004

GHC Trac Issues: #11702
compiler/prelude/PrelRules.hs
testsuite/tests/numeric/should_run/all.T