diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2019-01-08 10:50:30 -0800 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:11 -0500 |
commit | d2eb344a38f6c727040ba76e584aeaca8e8aefb3 (patch) | |
tree | 8e12f97679d9c1122742be631df08af2a6d83a28 /testsuite/tests/ghci/scripts/ghci055.stdout | |
parent | f7def747cf0da103237cd17af5c8bfdbdf5823b2 (diff) | |
download | haskell-d2eb344a38f6c727040ba76e584aeaca8e8aefb3.tar.gz |
Fix tests for `integer-simple`
A bunch of tests for `integer-simple` were now broken for a foolish reason:
unlike the `integer-gmp` case, there is no CorePrep optimization for turning
small integers directly into applications of `S#`.
Rather than port this optimization to `integer-simple` (which would involve
moving a bunch of `integer-simple` names into `PrelNames`), I switched
as many tests as possible to use `Int`.
The printing of `Integer` is already tested in `print037`.
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci055.stdout')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci055.stdout | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci055.stdout b/testsuite/tests/ghci/scripts/ghci055.stdout index f98845ccbe..c40e0d073e 100644 --- a/testsuite/tests/ghci/scripts/ghci055.stdout +++ b/testsuite/tests/ghci/scripts/ghci055.stdout @@ -3,4 +3,4 @@ CallStack (from HasCallStack): error, called at libraries/base/GHC/Err.hs:79:14 in base:GHC.Err undefined, called at <interactive>:1:5 in interactive:Ghci1 x :: a = _ -y :: Integer = 3 +y :: Int = 3 |