Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/c6b350b46fd3da5a28ec0a382d6105841a8b95fb >--------------------------------------------------------------- commit c6b350b46fd3da5a28ec0a382d6105841a8b95fb Author: Simon Peyton Jones <[email protected]> Date: Wed Apr 4 16:03:53 2012 +0100 Add RankNTypes flag to tests that should really have it >--------------------------------------------------------------- tests/typecheck/should_compile/tc145.hs | 2 +- tests/typecheck/should_compile/tc158.hs | 2 +- tests/typecheck/should_compile/tc230.hs | 2 +- tests/typecheck/should_fail/T2714.hs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/typecheck/should_compile/tc145.hs b/tests/typecheck/should_compile/tc145.hs index a11c5b9..04910a3 100644 --- a/tests/typecheck/should_compile/tc145.hs +++ b/tests/typecheck/should_compile/tc145.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE ImplicitParams, UnboxedTuples #-} +{-# LANGUAGE RankNTypes, ImplicitParams, UnboxedTuples #-} -- Test two slightly exotic things about type signatures diff --git a/tests/typecheck/should_compile/tc158.hs b/tests/typecheck/should_compile/tc158.hs index 4414fc9..1e8b661 100644 --- a/tests/typecheck/should_compile/tc158.hs +++ b/tests/typecheck/should_compile/tc158.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE Rank2Types #-} +{-# LANGUAGE RankNTypes #-} -- Types should be checked for well-formedness only after -- expanding type synonyms. GHC 5.03 fails this diff --git a/tests/typecheck/should_compile/tc230.hs b/tests/typecheck/should_compile/tc230.hs index 11877d4..22cb6e9 100644 --- a/tests/typecheck/should_compile/tc230.hs +++ b/tests/typecheck/should_compile/tc230.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE ImplicitParams #-} +{-# LANGUAGE ImplicitParams, RankNTypes #-} -- Trac #1445 diff --git a/tests/typecheck/should_fail/T2714.hs b/tests/typecheck/should_fail/T2714.hs index 80f838c..b27acb7 100644 --- a/tests/typecheck/should_fail/T2714.hs +++ b/tests/typecheck/should_fail/T2714.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE ScopedTypeVariables, RankNTypes #-} -- Trac #2714 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
