[Git][ghc/ghc][wip/andreask/bump-ghc-lang] Bump default LANGUAGE to GHC2024
Andreas Klebinger pushed to branch wip/andreask/bump-ghc-lang at Glasgow Haskell Compiler / GHC Commits: c8e21975 by Andreas Klebinger at 2026-03-13T11:22:34+01:00 Bump default LANGUAGE to GHC2024 Fixes #26039. - - - - - 2 changed files: - compiler/GHC/Driver/Flags.hs - docs/users_guide/exts/control.rst Changes: ===================================== compiler/GHC/Driver/Flags.hs ===================================== @@ -64,7 +64,7 @@ data Language = Haskell98 | Haskell2010 | GHC2021 | GHC2024 -- | The default Language is used if one is not specified explicitly, by both -- GHC and GHCi. defaultLanguage :: Language -defaultLanguage = GHC2021 +defaultLanguage = GHC2024 instance Outputable Language where ppr = text . show ===================================== docs/users_guide/exts/control.rst ===================================== @@ -15,7 +15,7 @@ language edition consists of a collection of language extensions, and there are many other language extensions not currently part of a language edition but that can be enabled explicitly. -Currently, :extension:`GHC2021` is used by default if no other language edition +Currently, :extension:`GHC2024` is used by default if no other language edition is explicitly requested, for backwards compatibility purposes. Since later versions of GHC may use a different language edition by default, users are advised to declare a language edition explicitly. Using :extension:`GHC2024` is View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c8e2197563dcea97e0a0e7226bcd5f3f... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c8e2197563dcea97e0a0e7226bcd5f3f... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Andreas Klebinger (@AndreasK)