
#15512: Rewrite rules should be able to produce custom compiler errors -------------------------------------+------------------------------------- Reporter: ChaiTRex | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): I don't think this is the place of the simple mechanism of rewrite rules. This can be implemented using a compiler plugin and users could specify rules in the same manner as a rewrite rule. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15512#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler