[GHC] #14627: qAddTopDecls: can't convert top-level declarations
GHC
ghc-devs at haskell.org
Tue Jul 3 01:01:42 UTC 2018
#14627: qAddTopDecls: can't convert top-level declarations
-------------------------------------+-------------------------------------
Reporter: tianxiaogu | Owner: mgsloan
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.2.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4914
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mgsloan):
In addition to D4914, which changes this from panic-ing to just a regular
error, I've also published https://phabricator.haskell.org/D4923 which
improves the error for this specific case. Instead it says "Data
constructor not in scope: Bool"
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14627#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list