Andreas Klebinger pushed to branch wip/andreask/bump-ghc-lang at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • compiler/GHC/Driver/Flags.hs
    ... ... @@ -64,7 +64,7 @@ data Language = Haskell98 | Haskell2010 | GHC2021 | GHC2024
    64 64
     -- | The default Language is used if one is not specified explicitly, by both
    
    65 65
     -- GHC and GHCi.
    
    66 66
     defaultLanguage :: Language
    
    67
    -defaultLanguage = GHC2021
    
    67
    +defaultLanguage = GHC2024
    
    68 68
     
    
    69 69
     instance Outputable Language where
    
    70 70
         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
    15 15
     many other language extensions not currently part of a language edition but that
    
    16 16
     can be enabled explicitly.
    
    17 17
     
    
    18
    -Currently, :extension:`GHC2021` is used by default if no other language edition
    
    18
    +Currently, :extension:`GHC2024` is used by default if no other language edition
    
    19 19
     is explicitly requested, for backwards compatibility purposes. Since later
    
    20 20
     versions of GHC may use a different language edition by default, users are
    
    21 21
     advised to declare a language edition explicitly.  Using :extension:`GHC2024` is