#5511: -package should take priority over modules in the filesystem
---------------------------------+------------------------------------------
    Reporter:  peteg             |       Owner:                
        Type:  bug               |      Status:  new           
    Priority:  normal            |   Component:  Package system
     Version:  7.0.3             |    Keywords:                
    Testcase:                    |   Blockedby:                
          Os:  Unknown/Multiple  |    Blocking:                
Architecture:  Unknown/Multiple  |     Failure:  Other         
---------------------------------+------------------------------------------
 Imagine I have a GHC package called P. I build it using Cabal and a
 directory structure like so:

 {{{
 P/ -- project root, containing P.cabal etc.
 P/Code/M.hs
 P/Tests/T.hs
 }}}

 I build P and install it.

 In P/ I want to say:

 {{{
 ghci -package P Tests/T.hs
 }}}

 but ghci insists on loading Code/M.hs rather than using P - it seems to
 ignore the -package flag.

 cheers
 peter

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5511>
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

Reply via email to