#639: Give civilised error messages when desugaring Template Haskell brackets
--------------------------------------+-------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:             
        Type:  task                   |       Status:  new        
    Priority:  normal                 |    Milestone:             
   Component:  Compiler               |      Version:  6.4.1      
    Severity:  normal                 |     Keywords:             
          Os:  Unknown                |   Difficulty:  Easy (1 hr)
Architecture:  Unknown                |  
--------------------------------------+-------------------------------------
DsMeta fails with a panic if it encounters something it can't desugar into
 TH syntax.  This is bad: the error should be civilised.  But there's no
 current provision for desugarer *errors*, only *warnings*.

 Add errors, and perhaps promote the error/warning box into the part that
 is shared between all uses of IOEnv (renamer, typechecker, desugarer)

 Nothing hard, a bit tedious.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/639>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to