summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print030.script
blob: d3042d01bd4b883313cd9e4cd919672bfdeb575c (plain)
1
2
3
4
5
6
7
8
9
:l print029.hs
let a = MkT2 (map Just [(1::Int)])
:break f
seq a ()
f a
-- Unsound! A false type is assigned to x
-- reconstructType is forced to stop too soon
-- because the elements of the list in x are not evaluated yet
:q