Simon Hengel pushed to branch wip/sol/pp-set-ghc-version at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • changelog.d/pp-set-ghc-version
    1 1
     section: compiler
    
    2
    -synopsis: Set the environment variable GHC_VERSION when calling custom pre-processors
    
    2
    +synopsis:
    
    3
    +  Set the environment variable `GHC_VERSION` to the current GHC version when
    
    4
    +  invoking custom pre-processors, so that pre-processors can emit backwards
    
    5
    +  compatible code without relying on CPP.
    
    3 6
     issues: #25952
    
    4
    -mrs:
    7
    +mrs: !16224