[GHC] #552: GHCi :m doesn't restore default decl
GHC
trac at galois.com
Fri Oct 20 11:34:31 EDT 2006
#552: GHCi :m doesn't restore default decl
---------------------+------------------------------------------------------
Reporter: simonpj | Owner: nobody
Type: bug | Status: assigned
Priority: lowest | Milestone: 6.8
Component: Driver | Version: 5.00
Severity: normal | Resolution: None
Keywords: | Difficulty: Unknown
Testcase: ghci016 | Architecture: Unknown
Os: Unknown |
---------------------+------------------------------------------------------
Changes (by igloo):
* architecture: => Unknown
* difficulty: => Unknown
* milestone: => 6.8
* testcase: => ghci016
* os: => Unknown
Old description:
> {{{
> GHCi should remember what the 'default' setting in
> force for a module is, so that after :m Foo one gets
> the default setting for Foo.
>
> This means that GHC should really record the default
> setting in the interface file.
>
> So this is related to the current bug that GHCi
> doesn't remember the original source-level imports for
> the module. As a result :m Foo (where Foo is a
> compiled module) does not produce the right top-level
> environment
> }}}
New description:
GHCi should remember what the 'default' setting in
force for a module is, so that after :m Foo one gets
the default setting for Foo.
This means that GHC should really record the default
setting in the interface file.
So this is related to the current bug that GHCi
doesn't remember the original source-level imports for
the module. As a result :m Foo (where Foo is a
compiled module) does not produce the right top-level
environment
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/552>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list