Support printing `integer-simple` Integers in GHCi
This means that `:p` no longer leaks the implementation details of `Integer` with `integer-simple`. The `print037` test case should exercise all possible code paths for GHCi's code around printing `Integer`s (both in `integer-simple` and `integer-gmp`). `ghc` the package now also has a Cabal `integer-simple` flag (like the `integer-gmp` one).
Showing
- compiler/ghc.cabal.in 14 additions, 0 deletionscompiler/ghc.cabal.in
- compiler/ghci/RtClosureInspect.hs 31 additions, 1 deletioncompiler/ghci/RtClosureInspect.hs
- ghc.mk 1 addition, 0 deletionsghc.mk
- hadrian/src/Settings/Packages.hs 3 additions, 1 deletionhadrian/src/Settings/Packages.hs
- testsuite/tests/ghci.debugger/scripts/all.T 1 addition, 0 deletionstestsuite/tests/ghci.debugger/scripts/all.T
- testsuite/tests/ghci.debugger/scripts/print037.script 25 additions, 0 deletionstestsuite/tests/ghci.debugger/scripts/print037.script
- testsuite/tests/ghci.debugger/scripts/print037.stdout 5 additions, 0 deletionstestsuite/tests/ghci.debugger/scripts/print037.stdout
Please register or sign in to comment