diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2014-11-21 11:20:06 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-21 11:26:10 -0600 |
commit | 7927658ed1dcf557c7dd78e4b9844100521391c8 (patch) | |
tree | 16a5978453233ba0889af5fa3e59a60b42bc0bfc /utils | |
parent | cfa574cea30b411080de5d641309bdf135ed9be5 (diff) | |
download | haskell-7927658ed1dcf557c7dd78e4b9844100521391c8.tar.gz |
AST changes to prepare for API annotations, for #9628
Summary:
AST changes to prepare for API annotations
Add locations to parts of the AST so that API annotations can
then be added.
The outline of the whole process is captured here
https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations
This change updates the haddock submodule.
Test Plan: sh ./validate
Reviewers: austin, simonpj, Mikolaj
Reviewed By: simonpj, Mikolaj
Subscribers: thomie, goldfire, carter
Differential Revision: https://phabricator.haskell.org/D426
GHC Trac Issues: #9628
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghctags/Main.hs | 2 | ||||
m--------- | utils/haddock | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghctags/Main.hs b/utils/ghctags/Main.hs index 4a094f50a1..a377953b38 100644 --- a/utils/ghctags/Main.hs +++ b/utils/ghctags/Main.hs @@ -307,7 +307,7 @@ boundThings modname lbinding = _ -> error "boundThings" conArgs (PrefixCon ps) tl = foldr patThings tl ps conArgs (RecCon (HsRecFields { rec_flds = flds })) tl - = foldr (\f tl' -> patThings (hsRecFieldArg f) tl') tl flds + = foldr (\(L _ f) tl' -> patThings (hsRecFieldArg f) tl') tl flds conArgs (InfixCon p1 p2) tl = patThings p1 $ patThings p2 tl diff --git a/utils/haddock b/utils/haddock -Subproject 2b3712d701c1df626abbc60525c35e735272e45 +Subproject 5d8117d8f1f910c85d36865d646b65510b23583 |