logo       

[GHC] #639: Give civilised error messages when desugaring Template Haskell : msg#00141

lang.haskell.glasgow.bugs

Subject: [GHC] #639: Give civilised error messages when desugaring Template Haskell brackets

#639: Give civilised error messages when desugaring Template Haskell brackets
--------------------------------------+-------------------------------------
Reporter: simonpj@xxxxxxxxxxxxx | 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
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise