Commit 7b38abe4 authored by Simon Marlow's avatar Simon Marlow
Browse files

update to test for #2049

parent 11cce0f8
......@@ -23,3 +23,14 @@ yan
:reload
:show modules
yan -- error
-- Now testing for bug #2049
:! cp A3.hs A.hs
:load A.hs
-- should fail
-- Data.List should still be in scope:
:type nub
:! sleep 1
:! cp A1.hs A.hs
:reload
yan
......@@ -2,3 +2,5 @@
A.hs:1:15: parse error on input `where'
<interactive>:1:0: Not in scope: `yan'
A.hs:1:15: parse error on input `where'
......@@ -4,3 +4,5 @@ nub :: (Eq a) => [a] -> [a]
"tan"
nub :: (Eq a) => [a] -> [a]
A ( A.hs, interpreted )
nub :: (Eq a) => [a] -> [a]
"tan"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment