[commit: ghc] ghc-7.10: Fix up trivial testsuite failures (178d16f)

git at git.haskell.org git at git.haskell.org
Thu Oct 22 15:08:13 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/178d16f65e0f4bdd95d1ac9f8d8236d3246f2ed9/ghc

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

commit 178d16f65e0f4bdd95d1ac9f8d8236d3246f2ed9
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Oct 20 13:57:29 2015 -0400

    Fix up trivial testsuite failures
    
    These are fallout from da9b2ec3e19edb1de0e73e8f32aa0443743f072c and
    3340d3035afdc128e12fc64d3af97d76d19edda1.


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

178d16f65e0f4bdd95d1ac9f8d8236d3246f2ed9
 testsuite/tests/deSugar/should_run/T10215.stdout        | 1 -
 testsuite/tests/deSugar/should_run/T9238.stdout         | 1 -
 testsuite/tests/gadt/gadt21.stderr                      | 0
 testsuite/tests/indexed-types/should_fail/T4093a.stderr | 0
 testsuite/tests/typecheck/should_fail/T10495.stderr     | 6 ++++++
 testsuite/tests/typecheck/should_fail/T5853.stderr      | 0
 6 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/deSugar/should_run/T10215.stdout b/testsuite/tests/deSugar/should_run/T10215.stdout
index abb2393..815d668 100644
--- a/testsuite/tests/deSugar/should_run/T10215.stdout
+++ b/testsuite/tests/deSugar/should_run/T10215.stdout
@@ -1,3 +1,2 @@
 False
 False
-
diff --git a/testsuite/tests/deSugar/should_run/T9238.stdout b/testsuite/tests/deSugar/should_run/T9238.stdout
index 8dbd09d..85cd477 100644
--- a/testsuite/tests/deSugar/should_run/T9238.stdout
+++ b/testsuite/tests/deSugar/should_run/T9238.stdout
@@ -1,2 +1 @@
 [(-0.0,-0.0,EQ),(-0.0,0.0,LT),(0.0,-0.0,GT),(0.0,0.0,EQ)]
-
diff --git a/testsuite/tests/typecheck/should_fail/T10495.stderr b/testsuite/tests/typecheck/should_fail/T10495.stderr
new file mode 100644
index 0000000..15660d9
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T10495.stderr
@@ -0,0 +1,6 @@
+
+T10495.hs:5:7:
+    Couldn't match representation of type ‘a0’ with that of ‘b0’
+    Relevant bindings include foo :: a0 -> b0 (bound at T10495.hs:5:1)
+    In the expression: coerce
+    In an equation for ‘foo’: foo = coerce



More information about the ghc-commits mailing list