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

git at git.haskell.org git at git.haskell.org
Tue Mar 27 14:28:45 UTC 2018


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

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

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

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

    Fix test to reflect changed NthCo ctor


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

ca242c2b8f6543f7af0f40926c1d547c37aace32
 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