diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-09-22 18:28:35 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-22 19:20:44 -0400 |
commit | 806e49ae36a058dbe4494055a6b936dd153c6194 (patch) | |
tree | 982c304986bf925187aae36997d4602e3419c8e9 /testsuite/tests/module | |
parent | 6fd7da745a518a93f6685171701a27283cfe2d4e (diff) | |
download | haskell-806e49ae36a058dbe4494055a6b936dd153c6194.tar.gz |
Refactor package imports
Use an (Raw)PkgQual datatype instead of `Maybe FastString` to represent
package imports. Factorize the code that renames RawPkgQual into PkgQual
in function `rnPkgQual`. Renaming consists in checking if the FastString
is the magic "this" keyword, the home-unit unit-id or something else.
Bump haddock submodule
Diffstat (limited to 'testsuite/tests/module')
-rw-r--r-- | testsuite/tests/module/mod185.stderr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/module/mod185.stderr b/testsuite/tests/module/mod185.stderr index a0f771ac43..1463324978 100644 --- a/testsuite/tests/module/mod185.stderr +++ b/testsuite/tests/module/mod185.stderr @@ -50,7 +50,7 @@ (L { mod185.hs:3:8-14 } {ModuleName: Prelude}) - (Nothing) + (NoRawPkgQual) (NotBoot) (False) (QualifiedPost) @@ -127,3 +127,5 @@ [])))] (Nothing) (Nothing))) + + |