
#12146: syntax repair suggestion is too eager to suggest TemplateHaskell -------------------------------------+------------------------------------- Reporter: j.waldmann | Owner: Type: feature request | Status: patch 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: #7396 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by adityadivekar): So in some cases, as described in #7396, it is desirable to have the message suggesting TemplateHaskell. The expected stderr for test cases T6106 and T1914 in `/ghci/scripts` can be modified as per the suggestion in the patch I uploaded. But the script for test T4042 in `/rename/should_fail`clearly expects the TemplateHaskell suggestion in stderr (as mentioned in the comments in the test case script). So changing the message would invalidate the test case. I'm not sure how to handle this conflict. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12146#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler