[commit: ghc] wip/hasfield: Fix test output (08ac91d)

git at git.haskell.org git at git.haskell.org
Tue Nov 15 12:47:23 UTC 2016


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

On branch  : wip/hasfield
Link       : http://ghc.haskell.org/trac/ghc/changeset/08ac91d76a0906152d69d4138b3824d74cebd9db/ghc

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

commit 08ac91d76a0906152d69d4138b3824d74cebd9db
Author: Adam Gundry <adam at well-typed.com>
Date:   Tue Nov 15 12:43:59 2016 +0000

    Fix test output


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

08ac91d76a0906152d69d4138b3824d74cebd9db
 .../tests/overloadedrecflds/should_fail/hasfieldfail03.stderr     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
index 2fb8dbd..71192b2 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
@@ -1,20 +1,20 @@
 
-hasfieldfail03.hs:8:10: error:
+hasfieldfail03.hs:9:10: error:
     • Illegal instance declaration for ‘HasField "woo" a Bool’
         Record data type must be specified
     • In the instance declaration for ‘HasField "woo" a Bool’
 
-hasfieldfail03.hs:12:10: error:
+hasfieldfail03.hs:13:10: error:
     • Illegal instance declaration for ‘HasField "foo" T Int’
         T already has a field ‘foo’
     • In the instance declaration for ‘HasField "foo" T Int’
 
-hasfieldfail03.hs:16:10: error:
+hasfieldfail03.hs:17:10: error:
     • Illegal instance declaration for ‘HasField "bar" T Bool’
         T already has a field ‘bar’
     • In the instance declaration for ‘HasField "bar" T Bool’
 
-hasfieldfail03.hs:33:10: error:
+hasfieldfail03.hs:34:10: error:
     • Illegal instance declaration for
         ‘HasField "baz" (V a b c d) Bool’
         Record data type may not be a data family



More information about the ghc-commits mailing list