Skip to content

Bignum: fix bogus rewrite rule (#19345)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/bignum19345 into master

Fix the following rule:

  "fromIntegral/Int->Natural" fromIntegral = naturalFromWord . fromIntegral

Its type wasn't constrained to Int hence #19345 (closed).

Merge request reports