#7416: ghci "attempting to use module ... which is not loaded" after cabal
install, in source dir
---------------------------------+------------------------------------------
    Reporter:  j.waldmann        |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  GHCi              |     Version:  7.6.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown


Comment:

 This is the intended behaviour.  GHCi notices that the module you are
 asking for has a source file, so you have to `:load` it (the source file
 takes precedence over the module in the package).

 We could change the error message if that would help?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7416#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to