summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print029.script
blob: b320153d17e49baaac8d40d187d9cea7657119da (plain)
1
2
3
4
5
6
7
8
9
10
:l print029.hs
let a = MkT2 [Just (1::Int)]
a
:break f
f a
:step
-- Unsound! A false type is assigned to x
-- reconstructType decides to stop too soon because 
-- its BFS has recovered a monomorphic type
:p x