[GHC] #11019: ApiAnnotations: Make all RdrName occurences Located
GHC
ghc-devs at haskell.org
Mon Oct 26 12:11:05 UTC 2015
#11019: ApiAnnotations: Make all RdrName occurences Located
-------------------------------------+-------------------------------------
Reporter: alanz | Owner: alanz
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
| ApiAnnotations
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 goldfire):
Perhaps I'm missing something very simple, but if you have a, for example,
`LHsExpr Name` which matches the pattern `(L loc (HsVar name))`, the `loc`
should apply just as well to the `name` as to the overall expression. My
understanding of each of the cases above is that they all have this
property, so adding another `Located` wrapper would be redundant.
Or am I missing something?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11019#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list