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