[commit: ghc] wip/tdammers/D4394: Fix test to reflect changed NthCo ctor (1af89d5)

git at git.haskell.org git at git.haskell.org
Thu Mar 22 11:02:34 UTC 2018


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

On branch  : wip/tdammers/D4394
Link       : http://ghc.haskell.org/trac/ghc/changeset/1af89d545b8a605a6d2c6036fde1a20b147b294f/ghc

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

commit 1af89d545b8a605a6d2c6036fde1a20b147b294f
Author: Tobias Dammers <tdammers at gmail.com>
Date:   Tue Mar 13 13:59:36 2018 +0100

    Fix test to reflect changed NthCo ctor


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

1af89d545b8a605a6d2c6036fde1a20b147b294f
 testsuite/tests/pmcheck/should_compile/T11195.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/pmcheck/should_compile/T11195.hs b/testsuite/tests/pmcheck/should_compile/T11195.hs
index 236932e..0c35b4f 100644
--- a/testsuite/tests/pmcheck/should_compile/T11195.hs
+++ b/testsuite/tests/pmcheck/should_compile/T11195.hs
@@ -62,7 +62,7 @@ opt_transList :: InScopeSet -> [NormalCo] -> [NormalCo] -> [NormalCo]
 opt_transList is = zipWith (opt_trans is)
 
 opt_trans_rule :: InScopeSet -> NormalNonIdCo -> NormalNonIdCo -> Maybe NormalCo
-opt_trans_rule is in_co1@(NthCo d1 co1) in_co2@(NthCo d2 co2)
+opt_trans_rule is in_co1@(NthCo r1 d1 co1) in_co2@(NthCo r2 d2 co2)
   | d1 == d2
   , co1 `compatible_co` co2 = undefined
 



More information about the ghc-commits mailing list