Commit 17739645 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

DynFlags: Support British spelling of GeneralisedNewtypeDeriving

Reviewers: dfeuer

Reviewed By: dfeuer

Subscribers: dfeuer, rwbarton, thomie, carter

GHC Trac Issues: #14819

Differential Revision:
parent 4a0d0d80
......@@ -4122,6 +4122,8 @@ xFlagsDeps = [
flagSpec "GHCForeignImportPrim" LangExt.GHCForeignImportPrim,
flagSpec' "GeneralizedNewtypeDeriving" LangExt.GeneralizedNewtypeDeriving
flagSpec' "GeneralisedNewtypeDeriving" LangExt.GeneralizedNewtypeDeriving
flagSpec "ImplicitParams" LangExt.ImplicitParams,
flagSpec "ImplicitPrelude" LangExt.ImplicitPrelude,
flagSpec "ImpredicativeTypes" LangExt.ImpredicativeTypes,
......@@ -54,6 +54,8 @@ Compiler
calling the C compiler. Instead we use :ghc-flag:`-iquote` to only add it as
an include path for `#include ""`. See :ghc-ticket:`14312`.
- GHC now supports British spelling of :extension:`GeneralizedNewtypeDeriving`.
Runtime system
......@@ -4586,7 +4586,7 @@ Generalised derived instances for newtypes
:shortdesc: Enable newtype deriving.
:since: 6.8.1
:since: 6.8.1. British spelling since 8.6.1.
Enable GHC's cunning generalised deriving mechanism for ``newtype``\s
......@@ -40,7 +40,8 @@ expectedGhcOnlyExtensions = ["RelaxedLayout",
expectedCabalOnlyExtensions :: [String]
expectedCabalOnlyExtensions = ["Generics",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment