
#15321: Typed holes in Template Haskell splices produce bewildering error messages -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Template Haskell | Version: 8.4.3 Resolution: | Keywords: TypedHoles Operating System: Unknown/Multiple | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Tritlo): I've pushed an intermittent fix in https://phabricator.haskell.org/D4909. It is a bit more comprehensive (discarding ANY candidate that causes an error, not just errors in `tcLookup`), but uses the same approach as suggested in comment:4. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15321#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler