From 43d4588f6d07ff0b95f7c181f7df6a45453be791 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 17 Feb 2013 21:55:42 +0000 Subject: Fix T6145; MatchGroup was renamed to MG and altered --- testsuite/tests/ghc-api/T6145.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite') diff --git a/testsuite/tests/ghc-api/T6145.hs b/testsuite/tests/ghc-api/T6145.hs index 42fc93bb07..0332b05a51 100644 --- a/testsuite/tests/ghc-api/T6145.hs +++ b/testsuite/tests/ghc-api/T6145.hs @@ -35,7 +35,7 @@ main = do getDataCon (L _ (AbsBinds { abs_binds = bs })) = not (isEmptyBag (filterBag getDataCon bs)) getDataCon (L l (f@FunBind {})) - | (MatchGroup (m:_) _)<-fun_matches f, + | (MG (m:_) _ _) <- fun_matches f, (L _ (c@ConPatOut{}):_)<-hsLMatchPats m, (L l _)<-pat_con c = isGoodSrcSpan l -- Check that the source location is a good one -- cgit v1.2.1