#936: strange ghci behavior and error with recursive modules
---------------------------------------------+------------------------------
 Reporter:  Misha Aizatulin <[EMAIL PROTECTED]>  |          Owner:         
     Type:  bug                              |         Status:  new    
 Priority:  normal                           |      Milestone:  6.6.1  
Component:  GHCi                             |        Version:  6.4.2  
 Severity:  normal                           |     Resolution:         
 Keywords:                                   |     Difficulty:  Unknown
 Testcase:                                   |   Architecture:  Unknown
       Os:  Linux                            |  
---------------------------------------------+------------------------------
Comment (by simonmar):

 I looked into this a bit.  The problem seems to be that when the linker
 comes to link the expression 'A', it traverses the dependencies graph and
 doesn't find module `B`.  The reason is that the dependencies for module
 `A` say `C[boot]`, and don't include `B`, despite the fact that `C`
 depends on `B` (module dependencies are transitively closed, except for
 `[boot]` dependencies).

 Perhaps we need to recursively add dependencies for `[boot]` modules that
 we find? (see `compiler\ghci\Linker.hs:get_deps`).

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