[commit: ghc] ghc-8.0: TypeApplications does not imply AllowAmbiguousTypes (fcf36a9)
git at git.haskell.org
git at git.haskell.org
Wed Mar 23 16:38:19 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/fcf36a9c64f2cc80cd8d6a062a6993eb00f44a11/ghc
>---------------------------------------------------------------
commit fcf36a9c64f2cc80cd8d6a062a6993eb00f44a11
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date: Thu Mar 17 17:49:28 2016 -0400
TypeApplications does not imply AllowAmbiguousTypes
(cherry picked from commit 01b29ebd25aceef8c35ea1cc3eabb6dafbb55daa)
>---------------------------------------------------------------
fcf36a9c64f2cc80cd8d6a062a6993eb00f44a11
compiler/main/DynFlags.hs | 1 -
docs/users_guide/glasgow_exts.rst | 1 -
testsuite/tests/dependent/should_compile/RaeJobTalk.hs | 2 +-
testsuite/tests/patsyn/should_compile/T11351.hs | 3 ++-
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index fa1141e..361c51e 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3701,7 +3701,6 @@ impliedXFlags
, (LangExt.TemplateHaskell, turnOn, LangExt.TemplateHaskellQuotes)
, (LangExt.Strict, turnOn, LangExt.StrictData)
- , (LangExt.TypeApplications, turnOn, LangExt.AllowAmbiguousTypes)
]
-- Note [Documenting optimisation flags]
diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index be8de73..b002109 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8623,7 +8623,6 @@ Visible type application
.. ghc-flag:: -XTypeApplications
- :implies: :ghc-flag:`-XAllowAmbiguousTypes`
:since: 8.0.1
Allow the use of type application syntax.
diff --git a/testsuite/tests/dependent/should_compile/RaeJobTalk.hs b/testsuite/tests/dependent/should_compile/RaeJobTalk.hs
index c03503d..2f0edf8 100644
--- a/testsuite/tests/dependent/should_compile/RaeJobTalk.hs
+++ b/testsuite/tests/dependent/should_compile/RaeJobTalk.hs
@@ -1,7 +1,7 @@
{- Copyright (c) 2016 Richard Eisenberg
-}
-{-# LANGUAGE TypeOperators, TypeFamilies, TypeApplications,
+{-# LANGUAGE TypeOperators, TypeFamilies, TypeApplications, AllowAmbiguousTypes,
ExplicitForAll, ScopedTypeVariables, GADTs, TypeFamilyDependencies,
TypeInType, ConstraintKinds, UndecidableInstances,
FlexibleInstances, MultiParamTypeClasses, FunctionalDependencies,
diff --git a/testsuite/tests/patsyn/should_compile/T11351.hs b/testsuite/tests/patsyn/should_compile/T11351.hs
index 26f8d2d..0873a88 100644
--- a/testsuite/tests/patsyn/should_compile/T11351.hs
+++ b/testsuite/tests/patsyn/should_compile/T11351.hs
@@ -1,4 +1,5 @@
-{-# LANGUAGE PatternSynonyms, TypeApplications, ScopedTypeVariables, ViewPatterns #-}
+{-# LANGUAGE PatternSynonyms, TypeApplications, ScopedTypeVariables, ViewPatterns,
+ AllowAmbiguousTypes #-}
module T11351 where
More information about the ghc-commits
mailing list