summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-17 21:55:42 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-17 21:55:42 +0000
commit43d4588f6d07ff0b95f7c181f7df6a45453be791 (patch)
treeecdd2b766f8c08e4f3851a55bc072e38ba214b23 /testsuite
parent8adfaeb92b4e8a69fb81a20f4d137b2f083eaa79 (diff)
downloadhaskell-43d4588f6d07ff0b95f7c181f7df6a45453be791.tar.gz
Fix T6145; MatchGroup was renamed to MG and altered
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/ghc-api/T6145.hs2
1 files changed, 1 insertions, 1 deletions
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