
#14819: GHC 8.2 does not accept British {-# LANGUAGE GeneralisedNewtypeDeriving #-} spelling -------------------------------------+------------------------------------- Reporter: clinton | Owner: (none) Type: bug | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: GHC rejects Unknown/Multiple | valid program Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The GHC docs for GeneralisedNewtypeDeriving at (https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts... #generalised-derived-instances-for-newtypes) suggest British spelling should be accepted, and indeed it's the preferred spelling in the docs. However GHC 8.2 throws an error. I haven't tested this against HEAD so if it's fixed there please feel free to close. I know this is a bit picky but it's caught me out a few times and I couldn't see it previously reported (I may have missed it though). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14819 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler