Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/4ee0a7e1cd0cf049fe777f5219aa1bf7fa4f86ae >--------------------------------------------------------------- commit 4ee0a7e1cd0cf049fe777f5219aa1bf7fa4f86ae Author: Ian Lynagh <[email protected]> Date: Tue May 24 22:49:50 2011 +0100 Add "LANGUAGE DatatypeContexts" pragmas to some tests >--------------------------------------------------------------- tests/ghc-regress/rename/should_fail/RnFail055.hs | 2 +- .../rename/should_fail/RnFail055.hs-boot | 2 +- tests/ghc-regress/stranal/should_compile/str001.hs | 1 + .../ghc-regress/typecheck/should_compile/tc182.hs | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/ghc-regress/rename/should_fail/RnFail055.hs b/tests/ghc-regress/rename/should_fail/RnFail055.hs index 4ff3656..bd95add 100644 --- a/tests/ghc-regress/rename/should_fail/RnFail055.hs +++ b/tests/ghc-regress/rename/should_fail/RnFail055.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE MultiParamTypeClasses,RankNTypes,ExistentialQuantification #-} +{-# LANGUAGE MultiParamTypeClasses,RankNTypes,ExistentialQuantification,DatatypeContexts #-} module RnFail055 where import RnFail055_aux diff --git a/tests/ghc-regress/rename/should_fail/RnFail055.hs-boot b/tests/ghc-regress/rename/should_fail/RnFail055.hs-boot index 596d668..57a97d3 100644 --- a/tests/ghc-regress/rename/should_fail/RnFail055.hs-boot +++ b/tests/ghc-regress/rename/should_fail/RnFail055.hs-boot @@ -1,4 +1,4 @@ -{-# LANGUAGE MultiParamTypeClasses,RankNTypes,ExistentialQuantification #-} +{-# LANGUAGE MultiParamTypeClasses,RankNTypes,ExistentialQuantification,DatatypeContexts #-} module RnFail055 where f1 :: Float -> Int diff --git a/tests/ghc-regress/stranal/should_compile/str001.hs b/tests/ghc-regress/stranal/should_compile/str001.hs index 2442d44..6d27a92 100644 --- a/tests/ghc-regress/stranal/should_compile/str001.hs +++ b/tests/ghc-regress/stranal/should_compile/str001.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE DatatypeContexts #-} module ShouldSucceed where {-# OPTIONS -O #-} diff --git a/tests/ghc-regress/typecheck/should_compile/tc182.hs b/tests/ghc-regress/typecheck/should_compile/tc182.hs index 368bd5c..f6e9164 100644 --- a/tests/ghc-regress/typecheck/should_compile/tc182.hs +++ b/tests/ghc-regress/typecheck/should_compile/tc182.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE ExistentialQuantification #-} +{-# LANGUAGE DatatypeContexts, ExistentialQuantification #-} -- Tests the "stupid theta" in pattern-matching -- when there's an existential as well _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
