[GHC] #936: strange ghci behavior and error with recursive
modules
GHC
trac at galois.com
Mon Jan 29 11:44:24 EST 2007
#936: strange ghci behavior and error with recursive modules
---------------------------------------------+------------------------------
Reporter: Misha Aizatulin <avatar at hot.ee> | 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
More information about the Glasgow-haskell-bugs
mailing list