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

#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

#11813: Template Haskell's Exact names don't shadow correctly
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg

#11813: Template Haskell's Exact names don't shadow correctly -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: merge Priority: normal | Milestone: 8.0.1 Component: Template Haskell | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => merge * milestone: => 8.0.1 Comment: This one is a straightforward bug and should be merged. Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11813#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11813: Template Haskell's Exact names don't shadow correctly -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Template Haskell | Version: 8.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged as ead6998f9944112879b2ab322a25495bbc557a42. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11813#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC