summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T13997.script
blob: 6f4bc32ece5288340310d85e97dbdb128dd58d3b (plain)
1
2
3
4
5
6
7
8
:set -v1
System.IO.writeFile "Bug.hs" "module Bug where import Bug2; bug = bug2"
System.IO.writeFile "Bug2.hs" "module Bug2 where bug2 = False"
:load Bug
System.IO.writeFile "New.hs" "module New where newFn = True"
System.IO.writeFile "Bug2.hs" "module Bug2 where import New; bug2 = newFn; bug22 = ()"
:reload
bug