diff options
| -rw-r--r-- | testsuite/tests/ghci.debugger/scripts/break006.stderr | 4 | ||||
| -rw-r--r-- | testsuite/tests/typecheck/should_fail/T5095.stderr | 2 | ||||
| -rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail133.stderr | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghci.debugger/scripts/break006.stderr index 2b43dff8c9..463b66fcbf 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break006.stderr @@ -5,7 +5,7 @@ Use :print or :force to determine these types Relevant bindings include it :: t (bound at <interactive>:4:1) These potential instances exist: - instance (Show a, Show b) => Show (Either a b) + instance (Show b, Show a) => Show (Either a b) -- Defined in ‘Data.Either’ instance Show Ordering -- Defined in ‘GHC.Show’ instance Show Integer -- Defined in ‘GHC.Show’ @@ -20,7 +20,7 @@ Use :print or :force to determine these types Relevant bindings include it :: t (bound at <interactive>:6:1) These potential instances exist: - instance (Show a, Show b) => Show (Either a b) + instance (Show b, Show a) => Show (Either a b) -- Defined in ‘Data.Either’ instance Show Ordering -- Defined in ‘GHC.Show’ instance Show Integer -- Defined in ‘GHC.Show’ diff --git a/testsuite/tests/typecheck/should_fail/T5095.stderr b/testsuite/tests/typecheck/should_fail/T5095.stderr index dcde1114e1..dc10d40638 100644 --- a/testsuite/tests/typecheck/should_fail/T5095.stderr +++ b/testsuite/tests/typecheck/should_fail/T5095.stderr @@ -3,7 +3,7 @@ T5095.hs:9:9: error: • Overlapping instances for Eq a arising from a use of ‘==’ Matching instances: instance [overlappable] Show a => Eq a -- Defined at T5095.hs:5:31 - instance (Eq a, Eq b) => Eq (Either a b) + instance (Eq b, Eq a) => Eq (Either a b) -- Defined in ‘Data.Either’ instance Eq Ordering -- Defined in ‘GHC.Classes’ ...plus 24 others diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr index 72dc14e9c9..a2b602cb98 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr @@ -9,7 +9,7 @@ tcfail133.hs:68:7: error: These potential instances exist: instance Show Ordering -- Defined in ‘GHC.Show’ instance Show Integer -- Defined in ‘GHC.Show’ - instance (Show a, Show b, Number a, Digit b) => Show (a :@ b) + instance (Show b, Show a, Digit b, Number a) => Show (a :@ b) -- Defined at tcfail133.hs:11:54 ...plus 25 others ...plus five instances involving out-of-scope types |
