Make Extension derive Bounded
authorShayne Fletcher <shayne.fletcher@digitalasset.com>
Thu, 25 Apr 2019 15:09:00 +0000 (11:09 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 23 Jun 2019 17:27:12 +0000 (13:27 -0400)
(cherry picked from commit 9047f1844d3f332e15f9e04e74891c771388da3d)

libraries/ghc-boot-th/GHC/LanguageExtensions/Type.hs

index 2c06a74..11460a1 100644 (file)
@@ -139,4 +139,4 @@ data Extension
    | NumericUnderscores
    | QuantifiedConstraints
    | StarIsType
-   deriving (Eq, Enum, Show, Generic)
+   deriving (Eq, Enum, Show, Generic, Bounded)