summaryrefslogtreecommitdiff
path: root/testsuite/tests/cabal/t20242/T20242.stderr
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-08-18 12:54:51 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-23 13:35:26 -0400
commitc1acfd210153dc78748904467c6be023c702467a (patch)
tree35b9d956bf90d337c5cb05e7dd548510f0d07d78 /testsuite/tests/cabal/t20242/T20242.stderr
parent06aa8da540b971bb5756636ea5945c3382662b2f (diff)
downloadhaskell-c1acfd210153dc78748904467c6be023c702467a.tar.gz
driver: Only check for unused package warning in after succesful downsweep
Before we would check for the unused package warning even if the module graph was compromised due to an error in downsweep. This is easily fixed by pushing warmUnusedPackages into depanalE, and then returning the errors like the other downsweep errors. Fixes #20242
Diffstat (limited to 'testsuite/tests/cabal/t20242/T20242.stderr')
-rw-r--r--testsuite/tests/cabal/t20242/T20242.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/cabal/t20242/T20242.stderr b/testsuite/tests/cabal/t20242/T20242.stderr
new file mode 100644
index 0000000000..73c50e8c51
--- /dev/null
+++ b/testsuite/tests/cabal/t20242/T20242.stderr
@@ -0,0 +1,5 @@
+
+Foo.hs-boot:1:1: error:
+ File name does not match module name:
+ Saw : ‘Main’
+ Expected: ‘Foo’