summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print008.script
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2019-01-08 10:50:30 -0800
committerBen Gamari <ben@smart-cactus.org>2019-01-16 14:17:11 -0500
commitd2eb344a38f6c727040ba76e584aeaca8e8aefb3 (patch)
tree8e12f97679d9c1122742be631df08af2a6d83a28 /testsuite/tests/ghci.debugger/scripts/print008.script
parentf7def747cf0da103237cd17af5c8bfdbdf5823b2 (diff)
downloadhaskell-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.debugger/scripts/print008.script')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print008.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print008.script b/testsuite/tests/ghci.debugger/scripts/print008.script
index 51b44a6d67..3a6b2910ed 100644
--- a/testsuite/tests/ghci.debugger/scripts/print008.script
+++ b/testsuite/tests/ghci.debugger/scripts/print008.script
@@ -3,7 +3,7 @@
:set -XExistentialQuantification -XDeriveDataTypeable -XGeneralizedNewtypeDeriving
:l Test
-let t = O (map Just [[1,1],[2,2]])
+let t = O (map Just [[1 :: Int,1],[2,2]])
:p t
:t _t1
@@ -11,4 +11,4 @@ seq _t1 ()
:p t
seq _t2 ()
:p t
-:t _t4 \ No newline at end of file
+:t _t4