[commit: testsuite] master: Follow changes in [12a8244/ghc-prim] (#7633) (150844d)

git at git.haskell.org git at git.haskell.org
Wed Sep 18 10:40:54 CEST 2013


Repository : ssh://git@git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/150844d4ae07197edaed903099dfda167188e508/testsuite

>---------------------------------------------------------------

commit 150844d4ae07197edaed903099dfda167188e508
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Sep 18 10:40:12 2013 +0200

    Follow changes in [12a8244/ghc-prim] (#7633)


>---------------------------------------------------------------

150844d4ae07197edaed903099dfda167188e508
 tests/deriving/should_compile/T4966.stderr         |    9 +++++++--
 tests/deriving/should_compile/deriving-1935.stderr |   15 +++++++++++++++
 tests/deriving/should_compile/drv003.stderr        |   10 ++++++++++
 tests/ghci/scripts/T5820.stderr                    |    5 +++++
 tests/ghci/scripts/ghci019.stderr                  |    5 +++++
 tests/polykinds/T6002.hs                           |    2 +-
 tests/typecheck/should_compile/HasKey.stderr-ghc   |    5 +++++
 tests/typecheck/should_compile/T7903.stderr-ghc    |   10 ++++++++++
 tests/typecheck/should_compile/tc078.stderr-ghc    |   10 ++++++++++
 9 files changed, 68 insertions(+), 3 deletions(-)

diff --git a/tests/deriving/should_compile/T4966.stderr b/tests/deriving/should_compile/T4966.stderr
index b805992..f2e1d83 100644
--- a/tests/deriving/should_compile/T4966.stderr
+++ b/tests/deriving/should_compile/T4966.stderr
@@ -1,3 +1,8 @@
 
-T4966.hs:1:14:
-    Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
+T4966.hs:1:14: Warning:
+    -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
+
+T4966.hs:34:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (TreeListObject a)’
diff --git a/tests/deriving/should_compile/deriving-1935.stderr b/tests/deriving/should_compile/deriving-1935.stderr
new file mode 100644
index 0000000..4772334
--- /dev/null
+++ b/tests/deriving/should_compile/deriving-1935.stderr
@@ -0,0 +1,15 @@
+
+deriving-1935.hs:15:11: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (T a)’
+
+deriving-1935.hs:18:11: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (S a)’
+
+deriving-1935.hs:19:11: Warning:
+    No explicit implementation for
+      either ‛compare’ or ‛<=’
+    In the instance declaration for ‛Ord (S a)’
diff --git a/tests/deriving/should_compile/drv003.stderr b/tests/deriving/should_compile/drv003.stderr
index e69de29..7f58e68 100644
--- a/tests/deriving/should_compile/drv003.stderr
+++ b/tests/deriving/should_compile/drv003.stderr
@@ -0,0 +1,10 @@
+
+drv003.hs:12:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (Foo a)’
+
+drv003.hs:15:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (Bar b)’
diff --git a/tests/ghci/scripts/T5820.stderr b/tests/ghci/scripts/T5820.stderr
new file mode 100644
index 0000000..bf623bf
--- /dev/null
+++ b/tests/ghci/scripts/T5820.stderr
@@ -0,0 +1,5 @@
+
+T5820.hs:3:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq Foo’
diff --git a/tests/ghci/scripts/ghci019.stderr b/tests/ghci/scripts/ghci019.stderr
new file mode 100644
index 0000000..4c4ae6a
--- /dev/null
+++ b/tests/ghci/scripts/ghci019.stderr
@@ -0,0 +1,5 @@
+
+ghci019.hs:9:10: Warning:
+    No explicit implementation for
+      either ‛Prelude.==’ or ‛Prelude./=’
+    In the instance declaration for ‛Prelude.Eq Foo’
diff --git a/tests/polykinds/T6002.hs b/tests/polykinds/T6002.hs
index b21914b..a7f09ef 100644
--- a/tests/polykinds/T6002.hs
+++ b/tests/polykinds/T6002.hs
@@ -61,7 +61,7 @@ toNat' n = case toNat' (n - 1) of
 -- Now we are ready to make Hidden Nat' an Integral type
 
 instance Eq (Hidden Nat') where
-Hide a == Hide b = sameNat' a b
+  Hide a == Hide b = sameNat' a b
 
 instance Ord (Hidden Nat') where
   Hide Z `compare` Hide Z = EQ
diff --git a/tests/typecheck/should_compile/HasKey.stderr-ghc b/tests/typecheck/should_compile/HasKey.stderr-ghc
new file mode 100644
index 0000000..5460745
--- /dev/null
+++ b/tests/typecheck/should_compile/HasKey.stderr-ghc
@@ -0,0 +1,5 @@
+
+HasKey.hs:22:10: Warning:
+    No explicit implementation for
+      either ‛compare’ or ‛<=’
+    In the instance declaration for ‛Ord (Keyed x)’
diff --git a/tests/typecheck/should_compile/T7903.stderr-ghc b/tests/typecheck/should_compile/T7903.stderr-ghc
new file mode 100644
index 0000000..594196a
--- /dev/null
+++ b/tests/typecheck/should_compile/T7903.stderr-ghc
@@ -0,0 +1,10 @@
+
+T7903.hs:5:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (a -> b)’
+
+T7903.hs:6:10: Warning:
+    No explicit implementation for
+      either ‛compare’ or ‛<=’
+    In the instance declaration for ‛Ord (a -> b)’
diff --git a/tests/typecheck/should_compile/tc078.stderr-ghc b/tests/typecheck/should_compile/tc078.stderr-ghc
new file mode 100644
index 0000000..5eae74e
--- /dev/null
+++ b/tests/typecheck/should_compile/tc078.stderr-ghc
@@ -0,0 +1,10 @@
+
+tc078.hs:7:10: Warning:
+    No explicit implementation for
+      either ‛==’ or ‛/=’
+    In the instance declaration for ‛Eq (Bar a)’
+
+tc078.hs:8:10: Warning:
+    No explicit implementation for
+      either ‛compare’ or ‛<=’
+    In the instance declaration for ‛Ord (Bar a)’




More information about the ghc-commits mailing list