[GHC] #12146: syntax repair suggestion is too eager to suggest TemplateHaskell
GHC
ghc-devs at haskell.org
Tue Jun 21 12:13:58 UTC 2016
#12146: syntax repair suggestion is too eager to suggest TemplateHaskell
-------------------------------------+-------------------------------------
Reporter: j.waldmann | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by adityadivekar):
Hi, I've just started looking at the GHC source. I would like to work on
this issue if its still up for grabs.
If yes, it seems the error message needs to changed to something like
`Parse error: module header, import declaration or top-level declaration
expected`
and the suggestion needs to be removed.
The error text is defined in `RnSource.hs` in the field
`badImplicitSplice` and is displayed in case of an `ImplicitSplice` if I'm
right.
Could you help me in going around this issue?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12146#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list