[commit: ghc] wip/tdammers/D4394: Fix test to reflect changed NthCo ctor (c8336dd)
git at git.haskell.org
git at git.haskell.org
Tue Mar 20 11:54:23 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/tdammers/D4394
Link : http://ghc.haskell.org/trac/ghc/changeset/c8336dd76f589779572f3da6337cd1d861934dac/ghc
>---------------------------------------------------------------
commit c8336dd76f589779572f3da6337cd1d861934dac
Author: Tobias Dammers <tdammers at gmail.com>
Date: Tue Mar 13 13:59:36 2018 +0100
Fix test to reflect changed NthCo ctor
>---------------------------------------------------------------
c8336dd76f589779572f3da6337cd1d861934dac
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