From 3df9563e590bbfbfe1bc9171a0e8fc93ceef690d Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Sun, 22 Nov 2015 23:41:57 +0100 Subject: ApiAnnotations: Make all RdrName occurences Located At the moment the API Annotations can only be used on the ParsedSource, as there are changes made to the RenamedSource that prevent it from being used to round trip source code. It is possible to build a map from every Located Name in the RenamedSource from its location to the Name, which can then be used when resolved names are required when changing the ParsedSource. However, there are instances where the identifier is not located, specifically (GHC.VarPat name) (GHC.HsVar name) (GHC.UserTyVar name) (GHC.HsTyVar name) Replace each of the name types above with (Located name) Updates the haddock submodule. Test Plan: ./validate Reviewers: austin, goldfire, bgamari Reviewed By: bgamari Subscribers: goldfire, thomie, mpickering Differential Revision: https://phabricator.haskell.org/D1512 GHC Trac Issues: #11019 --- utils/haddock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/haddock') diff --git a/utils/haddock b/utils/haddock index e763c004c8..fcd1bb7177 160000 --- a/utils/haddock +++ b/utils/haddock @@ -1 +1 @@ -Subproject commit e763c004c8eb067ed0ef510fda9cb4ab102ea6ae +Subproject commit fcd1bb7177a800f6f56a623c2468fc46a59c527b -- cgit v1.2.1