Deprecate NewQualifiedOperators extension (rejected by H')
authorIan Lynagh <igloo@earth.li>
Mon, 19 Jul 2010 15:09:09 +0000 (15:09 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 19 Jul 2010 15:09:09 +0000 (15:09 +0000)
compiler/main/DynFlags.hs

index 4b3f2c6..88bf5f5 100644 (file)
@@ -1676,7 +1676,8 @@ xFlags = [
   ( "UndecidableInstances",             Opt_UndecidableInstances, const Supported ),
   ( "IncoherentInstances",              Opt_IncoherentInstances, const Supported ),
   ( "PackageImports",                   Opt_PackageImports, const Supported ),
-  ( "NewQualifiedOperators",            Opt_NewQualifiedOperators, const Supported )
+  ( "NewQualifiedOperators",            Opt_NewQualifiedOperators,
+    const $ Deprecated "The new qualified operator syntax was rejected by Haskell'" )
   ]
 
 impliedFlags :: [(DynFlag, DynFlag)]