#3395: Template Haskell crashes
---------------------------------+------------------------------------------
    Reporter:  NeilMitchell      |        Owner:                  
        Type:  bug               |       Status:  closed          
    Priority:  normal            |    Milestone:                  
   Component:  Compiler          |      Version:  6.10.4          
    Severity:  normal            |   Resolution:  fixed           
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:  th/T3395          |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * testcase:  => th/T3395

Comment:

 I've improved error reporting when this kind of thing happens
 {{{
 Tue Aug 11 07:36:55 PDT 2009  simo...@microsoft.com
   * Refactor, and improve error messages (cf Trac #3395)
   Ignore-this: e7205f5bcf8408ff791ba19156e48461

   The Convert stuff should not panic if the programmer hands over an
   invalid TH term; instead it should give a graceful error message.
   Largely this had been done, but not for do-blocks, so this patch
   fixes that problem.

   Moreover, I did some refactoring and tidying up, which is why
   so many lines of code have changed


     M ./compiler/hsSyn/Convert.lhs -153 +146
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3395#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to