Re: [GHC] #2049: GHCi doesn't fully load previously broken modules

2008-02-08 Thread GHC
#2049: GHCi doesn't fully load previously broken modules
-+--
 Reporter:  ajd  |  Owner:  igloo  
 Type:  merge| Status:  closed 
 Priority:  normal   |  Milestone:  6.8.3  
Component:  GHCi |Version:  6.8.2  
 Severity:  normal   | Resolution:  fixed  
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Merged

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2049: GHCi doesn't fully load previously broken modules

2008-01-22 Thread GHC
#2049: GHCi doesn't fully load previously broken modules
-+--
 Reporter:  ajd  |  Owner:  igloo  
 Type:  merge| Status:  new
 Priority:  normal   |  Milestone:  6.8.3  
Component:  GHCi |Version:  6.8.2  
 Severity:  normal   | Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by simonmar):

  * owner:  simonmar => igloo
  * type:  bug => merge

Comment:

 Fixed, to merge:

 {{{
 Mon Jan 21 06:59:35 PST 2008  Simon Marlow <[EMAIL PROTECTED]>
   * FIX #2049, another problem with the module context on :reload
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2049: GHCi doesn't fully load previously broken modules

2008-01-22 Thread GHC
#2049: GHCi doesn't fully load previously broken modules
-+--
 Reporter:  ajd  |  Owner:  simonmar
 Type:  bug  | Status:  new 
 Priority:  normal   |  Milestone:  6.8.3   
Component:  GHCi |Version:  6.8.2   
 Severity:  normal   | Resolution:  
 Keywords:   | Difficulty:  Unknown 
 Testcase:   |   Architecture:  Unknown 
   Os:  Unknown  |  
-+--
Changes (by simonmar):

  * owner:  => simonmar
  * difficulty:  => Unknown
  * milestone:  => 6.8.3

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2049: GHCi doesn't fully load previously broken modules

2008-01-19 Thread GHC
#2049: GHCi doesn't fully load previously broken modules
+---
Reporter:  ajd  |Owner: 
Type:  bug  |   Status:  new
Priority:  normal   |Milestone: 
   Component:  GHCi |  Version:  6.8.2  
Severity:  normal   |   Resolution: 
Keywords:   | Testcase: 
Architecture:  Unknown  |   Os:  Unknown
+---
Changes (by ToRA):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 Similar behaviour also occurs when using :l to load in a broken file.

 I've attached a trace using GHCi.  The 'd lines are lines where I
 think Bar should be in the module scope.  Seemingly using :m + forces ghci
 to remember the module across edits/breaks, but :l wipes out the memory,
 and if :l is used on a broken file, the module in the file isn't
 remembered on a load...

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #2049: GHCi doesn't fully load previously broken modules

2008-01-16 Thread GHC
#2049: GHCi doesn't fully load previously broken modules
+---
Reporter:  ajd  |   Owner: 
Type:  bug  |  Status:  new
Priority:  normal   |   Component:  GHCi   
 Version:  6.8.2|Severity:  normal 
Keywords:   |Testcase: 
Architecture:  Unknown  |  Os:  Unknown
+---
 Scenario:

 I have a project with three modules: Mod1, Mod2 and Mod3. Mod3 calls an
 undefined function and so shouldn't load. I call GHCi as

 ghci Mod3.hs

 The output looks like this:

  GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
  Loading package base ... linking ... done.
  [1 of 3] Compiling Mod1 ( Mod1.hs, interpreted )
  [2 of 3] Compiling Mod2 ( Mod2.hs, interpreted )
  [3 of 3] Compiling Mod3 ( Mod3.hs, interpreted )

  Mod3.hs:6:6: Not in scope: `foo'

  Mod3.hs:6:12: Not in scope: `barf'
  Failed, modules loaded: Mod2, Mod1.

 The problem comes when I edit the file using GHCi's :e command and then
 reload with :r. The output looks like this (which is strange in itself,
 because the modules are listed in the wrong order):

  *Mod2> :r
  [3 of 3] Compiling Mod3 ( Mod3.hs, interpreted )
  Ok, modules loaded: Mod2, Mod3, Mod1.

 The problem is this: when I call a function from Mod3 from the GHCi
 toplevel, I get a "not in scope" error. I can call the function as
 "Mod3." but "Mod3" does not show up in GHCi's tab
 completion. I don't believe that this is the correct behavior.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs