summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci055.script
blob: 2e3a949c1db4e78d5a067e415fbb952af5c5e1fd (plain)
1
2
3
4
5
6
7
let x=undefined
let y=3 :: Int
:force x
:show bindings
-- in 7.3 and earlier this used to print just "*** Exception:
-- Prelude.undefined", now we see bindings for x and y, and x's value
-- is printed as the exception.