Skip to content

fromEnum Natural: Throw error for non-representable values

Peter Lebbing requested to merge DigitalBrains1/ghc:fromenum_natural into master

This MR fixes #20291 (closed), by throwing an error for all non-representable values.

A test is added as testsuite/tests/numeric/should_run/T20291.hs.

user-facing

Merge request reports