X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FDynFlags.hs;h=3c117c4f4ce37cc04486ff68608664c76484aede;hp=f420f217f2f6b0348b1ca319402665cde3d0468d;hb=c9bb6b63aa1f479a3dd3679c7e4c2c69471a4912;hpb=770f05e6d160874d607e3f2bbc57912319f2a104 diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index f420f21..3c117c4 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -256,6 +256,7 @@ data DynFlag | Opt_ExplicitForAll | Opt_AlternativeLayoutRule | Opt_AlternativeLayoutRuleTransitional + | Opt_DatatypeContexts | Opt_PrintExplicitForalls @@ -716,6 +717,7 @@ defaultDynFlags = Opt_ImplicitPrelude, Opt_MonomorphismRestriction, Opt_NPlusKPatterns, + Opt_DatatypeContexts, Opt_MethodSharing, @@ -1646,6 +1648,8 @@ xFlags = [ ( "ExplicitForAll", Opt_ExplicitForAll, const Supported ), ( "AlternativeLayoutRule", Opt_AlternativeLayoutRule, const Supported ), ( "AlternativeLayoutRuleTransitional",Opt_AlternativeLayoutRuleTransitional, const Supported ), + -- On by default: + ( "DatatypeContexts", Opt_DatatypeContexts, const Supported ), ( "MonoLocalBinds", Opt_MonoLocalBinds, const Supported ), ( "RelaxedPolyRec", Opt_RelaxedPolyRec, const Supported ), ( "ExtendedDefaultRules", Opt_ExtendedDefaultRules, const Supported ),