summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2023-03-30 10:32:53 +0000
committersheaf <sam.derbyshire@gmail.com>2023-03-30 10:32:53 +0000
commit7a598f0d3f61272d480c1b1314e6749166b231ab (patch)
tree44c4ab2fd99edd5eb46ffdac075371131bffa0c3
parent98b5cf67f8428b0daefcbf5df121df0b8a126654 (diff)
downloadhaskell-wip/rename-gadt.tar.gz
Add LANGUAGE GADTs to GHC.Rename.Env wip/rename-gadt
We need to enable this extension for the file to compile with ghc 9.2, as we are pattern matching on a GADT and this required the GADT extension to be enabled until 9.4.
-rw-r--r--compiler/GHC/Rename/Env.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Rename/Env.hs b/compiler/GHC/Rename/Env.hs
index 9155a86bf0..cd7379b136 100644
--- a/compiler/GHC/Rename/Env.hs
+++ b/compiler/GHC/Rename/Env.hs
@@ -1,5 +1,5 @@
-
{-# LANGUAGE FlexibleContexts #-}
+{-# LANGUAGE GADTs #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE TypeApplications #-}