summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/T13803
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2019-09-26 11:31:44 -0400
committercgibbard <cgibbard@gmail.com>2020-04-24 12:07:14 -0400
commitb0fbfc7582fb81314dc28a056536737fb5eeaa6e (patch)
tree9e0107a08fd5a7f4f20d28d4a4e1b086bc29af3e /testsuite/tests/driver/T13803
parent0ac29c885fba7ed69de83a597cdbd03696c9ed13 (diff)
downloadhaskell-b0fbfc7582fb81314dc28a056536737fb5eeaa6e.tar.gz
Switch order on `GhcMake.IsBoot`
In !1798 we were requested to replace many `Bool`s with this data type. But those bools had `False` meaning `NotBoot`, so the `Ord` instance would be flipped if we use this data-type as-is. Since the planned formally-`Bool` occurrences vastly outnumber the current occurrences, we figured it would be better to conform the `Ord` instance to how the `Bool` is used now, fixing any issues, rather than fix them currently with the bigger refactor later in !1798. That way, !1798 can be a "pure" refactor with no behavioral changes.
Diffstat (limited to 'testsuite/tests/driver/T13803')
-rw-r--r--testsuite/tests/driver/T13803/T13803.stdout4
1 files changed, 2 insertions, 2 deletions
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 )