[GHC] #934: Allow load to work correctly when executed multiple times the same session for BatchCompile

GHC trac at galois.com
Thu Oct 12 07:02:12 EDT 2006


#934: Allow load to work correctly when executed multiple times the same session
for BatchCompile
------------------------------+---------------------------------------------
  Reporter:  briansmith       |          Owner:         
      Type:  feature request  |         Status:  new    
  Priority:  normal           |      Milestone:         
 Component:  Compiler         |        Version:  6.4.2  
  Severity:  normal           |     Resolution:         
  Keywords:                   |             Os:  Unknown
Difficulty:  Unknown          |   Architecture:  Unknown
------------------------------+---------------------------------------------
Comment (by simonmar):

 The idea seems reasonable to me, I don't envisage any problems with this
 generalisation other than the small cost of calling checkStability, which
 is probably insignificant.

 The patch doesn't exactly correspond to your code above; I like the above
 code better.    Maybe replace those underscores with `_any` to make them
 stand out more.

 We haven't thought about stability for JustTypecheck mode, I suspect we're
 doing too much re-typechecking there.

 If you submit a production patch we'll apply.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/934>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list