[GHC] #15321: Typed holes in Template Haskell splices produce bewildering error messages
GHC
ghc-devs at haskell.org
Fri Jun 29 13:02:12 UTC 2018
#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
More information about the ghc-tickets
mailing list