Commit 5147019d authored by simonmar's avatar simonmar
Browse files

[project @ 2005-02-14 14:36:31 by simonmar]

add a test for recompilation bug in GHCi
parent 396c2c77
module B (y) where
import A
y = 2 :: Int
z = 3 :: Int
include $(TOP)/mk/
include $(TOP)/mk/
test('prog005', normal, ghci_script, ['prog005.script'])
:unset +s
:unset +t
:load B
-- eval something that isn't exported from B
:!sleep 1
:!touch A.hs
-- A should be recompiled, B will be skipped. We should still have
-- the full top-level scope of B available, though. This was
-- nearly broken in GHC 6.4
Supports Markdown
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