diff options
| author | Alan Zimmerman <alan.zimm@gmail.com> | 2016-11-03 14:40:12 +0200 |
|---|---|---|
| committer | Alan Zimmerman <alan.zimm@gmail.com> | 2016-11-03 20:45:05 +0200 |
| commit | f46bfeb8344e1818f42066c3dd9717f49e8b511b (patch) | |
| tree | 7f90fe96ae6a66dd364f5d06bc030c4360f00b80 /compiler/rename/RnNames.hs | |
| parent | ec22bacdd625b04d28228dd5522d59d0bc8b1152 (diff) | |
| download | haskell-f46bfeb8344e1818f42066c3dd9717f49e8b511b.tar.gz | |
API Annotations: make all ModuleName Located
Summary:
This also changes the backpack Renaming type to use a Maybe for the
renameTo field, to more accurately reflect the parsed source.
Updates haddock submodule to match AST changes
Test Plan: ./validate
Reviewers: ezyang, bgamari, austin
Reviewed By: bgamari
Subscribers: thomie, mpickering
Differential Revision: https://phabricator.haskell.org/D2670
Diffstat (limited to 'compiler/rename/RnNames.hs')
| -rw-r--r-- | compiler/rename/RnNames.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs index 549bccb80e..8da11bed1c 100644 --- a/compiler/rename/RnNames.hs +++ b/compiler/rename/RnNames.hs @@ -266,7 +266,7 @@ rnImportDecl this_mod ++ "Safe, Trustworthy or Unsafe")) let - qual_mod_name = as_mod `orElse` imp_mod_name + qual_mod_name = fmap unLoc as_mod `orElse` imp_mod_name imp_spec = ImpDeclSpec { is_mod = imp_mod_name, is_qual = qual_only, is_dloc = loc, is_as = qual_mod_name } |
