summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T17431.script
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2019-11-08 09:22:02 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-09 18:04:14 -0500
commit1f98e47df40ae84423283bf2e06ffe7a0b4a9381 (patch)
tree561b4fa063ef9dfda47c8f716db08ffddb6d23f6 /testsuite/tests/ghci/scripts/T17431.script
parent011f3121955cf08353e384e9b84ed387860ade45 (diff)
downloadhaskell-1f98e47df40ae84423283bf2e06ffe7a0b4a9381.tar.gz
Use the right type in :force
A missing prime meant that we were considering the wrong type in the GHCi debugger, when doing :force on multiple arguments (issue #17431). The fix is trivial.
Diffstat (limited to 'testsuite/tests/ghci/scripts/T17431.script')
-rw-r--r--testsuite/tests/ghci/scripts/T17431.script4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T17431.script b/testsuite/tests/ghci/scripts/T17431.script
new file mode 100644
index 0000000000..a53dcf4214
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T17431.script
@@ -0,0 +1,4 @@
+:l T17431
+:br 5
+sort [3,2,1]
+:force x xs _result