diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-08-12 11:10:39 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-08-12 11:10:40 +0200 |
commit | d42eef344a71990d12f27e88cdf10ba0b2a2f34b (patch) | |
tree | c38cdb9ba3ff00e86480d92e80ecdc59d2b0de1f /testsuite | |
parent | 193eeee6bdbd5b2ec38e26c70e8aa79ce7bd2f99 (diff) | |
download | haskell-d42eef344a71990d12f27e88cdf10ba0b2a2f34b.tar.gz |
--show-iface: Qualify all non-local names
Summary:
In order to disambiguate names from different modules, qualify all names
that don't originate in the current module.
Also update docs for QueryQualifyName
Test Plan: validate
Reviewers: simonpj, bgamari
Reviewed By: simonpj
Subscribers: rwbarton, thomie, carter, tdammers
GHC Trac Issues: #15269
Differential Revision: https://phabricator.haskell.org/D4852
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/showIface/Orphans.stdout | 12 | ||||
-rw-r--r-- | testsuite/tests/simplCore/should_compile/T4306.stdout | 2 | ||||
-rw-r--r-- | testsuite/tests/simplCore/should_compile/T4918.stdout | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/tests/showIface/Orphans.stdout b/testsuite/tests/showIface/Orphans.stdout index d61a5c98f3..63fcd79a19 100644 --- a/testsuite/tests/showIface/Orphans.stdout +++ b/testsuite/tests/showIface/Orphans.stdout @@ -1,6 +1,6 @@ -instance [orphan] IsList [Bool] = $fIsListBool -instance IsList [X] = $fIsListX -family instance Item [X] = D:R:ItemX -family instance [orphan] Item [Bool] = D:R:ItemBool -"myrule1" [orphan] forall @ a id @ (a -> a) (id @ a) = id @ a -"myrule2" forall id @ (X -> X) f = f +instance [orphan] GHC.Exts.IsList [GHC.Types.Bool] = $fIsListBool +instance GHC.Exts.IsList [X] = $fIsListX +family instance GHC.Exts.Item [X] = D:R:ItemX +family instance [orphan] GHC.Exts.Item [GHC.Types.Bool] +"myrule1" [orphan] forall @ a +"myrule2" forall GHC.Base.id @ (X -> X) f = f diff --git a/testsuite/tests/simplCore/should_compile/T4306.stdout b/testsuite/tests/simplCore/should_compile/T4306.stdout index 3d52e94830..b2a93ff1cc 100644 --- a/testsuite/tests/simplCore/should_compile/T4306.stdout +++ b/testsuite/tests/simplCore/should_compile/T4306.stdout @@ -1 +1 @@ - $wupd :: Double# -> Double# + $wupd :: GHC.Prim.Double# -> GHC.Prim.Double# diff --git a/testsuite/tests/simplCore/should_compile/T4918.stdout b/testsuite/tests/simplCore/should_compile/T4918.stdout index 257dbb5952..4e957c0309 100644 --- a/testsuite/tests/simplCore/should_compile/T4918.stdout +++ b/testsuite/tests/simplCore/should_compile/T4918.stdout @@ -1,2 +1,2 @@ - {- HasNoCafRefs, Strictness: m, Unfolding: (C# 'p'#) -} - {- HasNoCafRefs, Strictness: m, Unfolding: (C# 'q'#) -} + {- HasNoCafRefs, Strictness: m, Unfolding: (GHC.Types.C# 'p'#) -} + {- HasNoCafRefs, Strictness: m, Unfolding: (GHC.Types.C# 'q'#) -} |