[commit: ghc] wip/orf-reboot: Test wibbles (cc7e5e9)

git at git.haskell.org git at git.haskell.org
Mon Oct 12 06:36:48 UTC 2015


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

On branch  : wip/orf-reboot
Link       : http://ghc.haskell.org/trac/ghc/changeset/cc7e5e937e2d4e6da43151fb00cdad7bb6abe139/ghc

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

commit cc7e5e937e2d4e6da43151fb00cdad7bb6abe139
Author: Adam Gundry <adam at well-typed.com>
Date:   Sun Oct 4 20:13:26 2015 +0100

    Test wibbles


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

cc7e5e937e2d4e6da43151fb00cdad7bb6abe139
 testsuite/tests/overloadedrecflds/ghci/overloadedrecfldsghci01.script   | 1 +
 .../tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/overloadedrecflds/ghci/overloadedrecfldsghci01.script b/testsuite/tests/overloadedrecflds/ghci/overloadedrecfldsghci01.script
index 46ec37c..2aa0a15 100644
--- a/testsuite/tests/overloadedrecflds/ghci/overloadedrecfldsghci01.script
+++ b/testsuite/tests/overloadedrecflds/ghci/overloadedrecfldsghci01.script
@@ -1,3 +1,4 @@
+
 :set -XDuplicateRecordFields
 data S = MkS { foo :: Int }
 data T a = MkT { foo :: Bool, bar :: a -> a }
diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr
index cf37520..84db6ee 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr
@@ -1,5 +1,5 @@
 
 overloadedrecfldsfail08.hs:9:9: error:
-    No constructor has all these fields: ‘x’, ‘y’
+    No type has all these fields: ‘x’, ‘y’
     In the expression: e {x = 3, y = True}
     In an equation for ‘foo’: foo e = e {x = 3, y = True}



More information about the ghc-commits mailing list