#2682: Keep going after failed search for module in current directory
------------------------------+---------------------------------------------
Reporter: ajd | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: GHCi | Version: 6.8.2
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Unknown/Multiple |
------------------------------+---------------------------------------------
Comment (by simonmar):
The problem is that the source code for the module is found on the search
path, and GHCi knows that you haven't loaded it with `:load`.
So in this case we could indeed decide to use the package version of the
module instead, but that might be a bit strange too: doing `import M`
would have different behaviour before and after using `:load M`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2682#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs