[GHC] #1678: runIO does not catch userErrors, just causes code generation to fail silently

GHC trac at haskell.org
Wed Oct 10 11:00:55 EDT 2007


#1678: runIO does not catch userErrors, just causes code generation to fail
silently
---------------------------------+------------------------------------------
    Reporter:  greenrd           |        Owner:  igloo   
        Type:  merge             |       Status:  new     
    Priority:  normal            |    Milestone:  6.8.1   
   Component:  Template Haskell  |      Version:  6.7     
    Severity:  normal            |   Resolution:          
    Keywords:  runIO regression  |   Difficulty:  Unknown 
          Os:  Linux             |     Testcase:  TH_runIO
Architecture:  x86_64 (amd64)    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

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

Comment:

 Fixed.  The exception handling in `TcSplice` is a bit tricky, so I've
 added a comment (`Note [Exceptions in TH]`).

 Merge this to stable
 {{{
 Wed Oct 10 15:57:05 BST 2007  simonpj at microsoft.com
   * Fix Trac #1678; be more careful about catching and
       reporting exceptions in spliced TH monadic computations
 }}}

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


More information about the Glasgow-haskell-bugs mailing list