[GHC] #639: Give civilised error messages when desugaring Template
Haskell brackets
GHC
trac at galois.com
Mon Dec 19 05:59:32 EST 2005
#639: Give civilised error messages when desugaring Template Haskell brackets
--------------------------------------+-------------------------------------
Reporter: simonpj at microsoft.com | 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
More information about the Glasgow-haskell-bugs
mailing list