[GHC] #11813: Template Haskell's Exact names don't shadow correctly

GHC ghc-devs at haskell.org
Fri Apr 8 08:39:05 UTC 2016


#11813: Template Haskell's Exact names don't shadow correctly
-------------------------------------+-------------------------------------
           Reporter:  goldfire       |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Template       |           Version:  8.1
  Haskell                            |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Having two `Exact` names shadow one another confuses the renamer. In
 particular, if an `Exact` name is used twice in kind annotations of a type
 declaration, the `hsq_implicit` field of the `HsQTyVars` gets a duplicate.
 I've been unable to cause harm with this, but it's definitely wrong as is.

 Fix en route.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11813>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list