summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/GHC/Driver/Make.hs2
-rw-r--r--testsuite/tests/driver/T13803/T13803.stdout4
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Driver/Make.hs b/compiler/GHC/Driver/Make.hs
index 7df02dd7c8..b81b045ed6 100644
--- a/compiler/GHC/Driver/Make.hs
+++ b/compiler/GHC/Driver/Make.hs
@@ -935,7 +935,7 @@ type BuildModule = (Module, IsBoot)
-- | 'Bool' indicating if a module is a boot module or not. We need to treat
-- boot modules specially when building compilation graphs, since they break
-- cycles. Regular source files and signature files are treated equivalently.
-data IsBoot = IsBoot | NotBoot
+data IsBoot = NotBoot | IsBoot
deriving (Ord, Eq, Show, Read)
-- | Tests if an 'HscSource' is a boot file, primarily for constructing
diff --git a/testsuite/tests/driver/T13803/T13803.stdout b/testsuite/tests/driver/T13803/T13803.stdout
index bab4a55099..675f7ebad3 100644
--- a/testsuite/tests/driver/T13803/T13803.stdout
+++ b/testsuite/tests/driver/T13803/T13803.stdout
@@ -1,5 +1,5 @@
[1 of 5] Compiling D ( D.hs, D.o )
[2 of 5] Compiling E[boot] ( E.hs-boot, E.o-boot )
[3 of 5] Compiling Y[boot] ( Y.hs-boot, Y.o-boot )
-[4 of 5] Compiling E ( E.hs, E.o )
-[5 of 5] Compiling Y ( Y.hs, Y.o )
+[4 of 5] Compiling Y ( Y.hs, Y.o )
+[5 of 5] Compiling E ( E.hs, E.o )