X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FDynFlags.hs;h=26948e18f00f31dc09a85cbf30e52fa03a0b4c0a;hb=922de8ca1aa3f2a1796e8cfa9bf8e52d7b959d9b;hp=93add2b33ed3a12c20662e74380ad9f738e2ec7d;hpb=ace2d4a6b98b30397ba9f572aff64c13524cad3b;p=ghc-hetmet.git diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 93add2b..26948e1 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -188,6 +188,7 @@ data DynFlag | Opt_EmptyDataDecls | Opt_KindSignatures | Opt_ParallelListComp + | Opt_GeneralizedNewtypeDeriving -- optimisation opts | Opt_Strictness @@ -1130,6 +1131,7 @@ xFlags = [ ( "ImplicitParams", Opt_ImplicitParams ), ( "ScopedTypeVariables", Opt_ScopedTypeVariables ), ( "MultiParamTypeClasses", Opt_MultiParamTypeClasses ), + ( "GeneralizedNewtypeDeriving", Opt_GeneralizedNewtypeDeriving ), ( "AllowOverlappingInstances", Opt_AllowOverlappingInstances ), ( "AllowUndecidableInstances", Opt_AllowUndecidableInstances ), ( "AllowIncoherentInstances", Opt_AllowIncoherentInstances ) @@ -1150,6 +1152,7 @@ glasgowExtsFlags = [ Opt_GlasgowExts , Opt_ParallelListComp , Opt_EmptyDataDecls , Opt_KindSignatures + , Opt_GeneralizedNewtypeDeriving , Opt_TypeFamilies ] ------------------