-- | @since 4.X.0.0 appears in the GHC.Natural module
Summary
GHC.Natural.hs
the function naturalToInteger says "since 4.x.0.0", which is obviously wrong :) https://gitlab.haskell.org/ghc/ghc/blob/f171b3582d44746bf8b08897a3b23bc97e5dbdda/libraries/base/GHC/Natural.hs#L240 this error is present in GHC master
Proposed improvements or changes
well, https://gitlab.haskell.org/ghc/ghc/blob/fe770c211631e7b4c9b0b1e88ef9b6046c6585ef/libraries/base/GHC/Natural.hs#L229 is the commit that introduced the error. Im not sure which ghc releases its in aside from 8.6 and 8.8 and probably 8.10 .... @hvr ?
Environment
- GHC version used (if appropriate): 8.6.5 ghc