[GHC] #11046: lookupTypeName does not support type operators not starting with :
GHC
ghc-devs at haskell.org
Mon Jan 30 19:02:49 UTC 2017
#11046: lookupTypeName does not support type operators not starting with :
-------------------------------------+-------------------------------------
Reporter: oerjan | Owner: albertus
Type: bug | Status: new
Priority: high | Milestone: 8.4.1
Component: Template Haskell | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: GHC rejects | Test Case:
valid program | testsuite/tests/th/TH_lookupName.hs,
| testsuite/tests/th/T11046.hs
Blocked By: | Blocking:
Related Tickets: #10583 | Differential Rev(s): Phab:D1451
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"559357384e300355b62edb3d60dcc3fadb942a50/ghc" 5593573/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="559357384e300355b62edb3d60dcc3fadb942a50"
Fixes bug #11046
For some time now, type-level operators such as '+' have been treated as
type constructors, rahter than type variables. This pathc fixes TH's
`lookupName` function to account for this behavior.
Reviewers: bgamari, austin, goldfire, RyanGlScott
Reviewed By: RyanGlScott
Subscribers: Phyx, thomie
Differential Revision: https://phabricator.haskell.org/D3025
GHC Trac Issues: #11046
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11046#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list