[GHC] #5439: Crash in TcEnv.lhs line 461

GHC cvs-ghc at haskell.org
Thu Sep 1 16:54:58 CEST 2011


#5439: Crash in TcEnv.lhs line 461
---------------------------------+------------------------------------------
  Reporter:  mikhail.vorozhtsov  |          Owner:                  
      Type:  bug                 |         Status:  new             
  Priority:  normal              |      Milestone:                  
 Component:  Compiler            |        Version:  7.3             
Resolution:                      |       Keywords:                  
  Testcase:                      |      Blockedby:                  
Difficulty:                      |             Os:  Unknown/Multiple
  Blocking:                      |   Architecture:  Unknown/Multiple
   Failure:  Compile-time crash  |  
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit b5b4aae437bba8c93bbe29e3678debceeb3f076e
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Thu Sep 1 15:54:39 2011 +0100

     Wibble to fix of Trac #5439: deal with the error-recovery case

     Even if we are recovering from a typecheck error, we should still do
     the right thing for the "closed" flag.  Otherwise we get an assert
     failure, and potentially different behaviour when the user fixes
     the original type error.

  compiler/typecheck/TcBinds.lhs |    5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)
 }}}

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



More information about the Glasgow-haskell-bugs mailing list