diff options
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print029.script')
-rw-r--r-- | testsuite/tests/ghci.debugger/scripts/print029.script | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print029.script b/testsuite/tests/ghci.debugger/scripts/print029.script new file mode 100644 index 0000000000..b320153d17 --- /dev/null +++ b/testsuite/tests/ghci.debugger/scripts/print029.script @@ -0,0 +1,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
\ No newline at end of file |