[project @ 2006-01-03 16:15:37 by simonmar]
authorsimonmar <unknown>
Tue, 3 Jan 2006 16:15:37 +0000 (16:15 +0000)
committersimonmar <unknown>
Tue, 3 Jan 2006 16:15:37 +0000 (16:15 +0000)
commit8d180b0dd5b3796c96b162464b93ab1cacc3b789
tree14b7e6c2a012fd049d2a7abc539c706c923f6627
parent337b09aa69273b0fbcb26ff9b942246baf2ade6a
[project @ 2006-01-03 16:15:37 by simonmar]
setContextAfterLoad: try to load a target if possible, otherwise load
the topmost module in the graph.  Previously we were loading the first
module in the list, which happened to be right a lot of the time, but
not always.

Fixes ticket #642
ghc/compiler/ghci/InteractiveUI.hs