Skip to content
Snippets Groups Projects
  1. Dec 06, 2023
  2. Nov 26, 2023
  3. Nov 02, 2023
    • Matthew Pickering's avatar
      Compatibility with 9.8.1 as boot compiler · ef3d20f8
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This fixes several compatability issues when using 9.8.1 as the boot
      compiler.
      
      * An incorrect version guard on the stack decoding logic in ghc-heap
      * Some ghc-prim bounds need relaxing
      * ghc is no longer wired in, so we have to remove the -this-unit-id ghc
        call.
      
      Fixes #24077
      ef3d20f8
  4. Sep 28, 2023
    • sheaf's avatar
      lint codes: avoid using git-grep · 477d223c
      sheaf authored and Marge Bot's avatar Marge Bot committed
      We manually traverse through the filesystem to find the diagnostic codes
      embedded in .stdout and .stderr files, to avoid any issues with old
      versions of grep.
      
      Fixes #23843
      477d223c
    • sheaf's avatar
      lint-codes: add new modes of operation · d7a80143
      sheaf authored and Marge Bot's avatar Marge Bot committed
      This commit adds two new modes of operation to the lint-codes
      utility:
      
        list - list all statically used diagnostic codes
        outdated - list all outdated diagnostic codes
      
      The previous behaviour is now:
      
        test - test consistency and coverage of diagnostic codes
      d7a80143
  5. Aug 29, 2023
  6. Aug 09, 2023
    • sheaf's avatar
      Compute all emitted diagnostic codes · 0ef1d8ae
      sheaf authored and Marge Bot's avatar Marge Bot committed
      This commit introduces in GHC.Types.Error.Codes the function
      
        constructorCodes :: forall diag. (...) => Map DiagnosticCode String
      
      which computes a collection of all the diagnostic codes that correspond
      to a particular type. In particular, we can compute the collection of
      all diagnostic codes emitted by GHC using the invocation
      
        constructorCodes @GhcMessage
      
      We then make use of this functionality in the new "codes" test which
      checks consistency and coverage of GHC diagnostic codes.
      It performs three checks:
      
        - check 1: all non-outdated GhcDiagnosticCode equations
          are statically used.
        - check 2: all outdated GhcDiagnosticCode equations
          are statically unused.
        - check 3: all statically used diagnostic codes are covered by
          the testsuite (modulo accepted exceptions).
      0ef1d8ae
  7. Jan 31, 2023
    • Matthew Pickering's avatar
      Fixes for cabal-reinstall CI job · 7cbdaad0
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      * Allow filepath to be reinstalled
      * Bump some version bounds to allow newer versions of libraries
      * Rework testing logic to avoid "install --lib" and package env files
      
      Fixes #22344
      7cbdaad0
  8. Jun 27, 2022
  9. Jun 01, 2022
  10. Feb 25, 2022
    • Matthew Pickering's avatar
      Move linters into the tree · 6555b68c
      Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
      This MR moves the GHC linters into the tree, so that they can be run directly using Hadrian.
      
      * Query all files tracked by Git instead of using changed files, so that we can run the exact same linting step locally and in a merge request.
      * Only check that the changelogs don't contain TBA when RELEASE=YES.
      * Add hadrian/lint script, which runs all the linting steps.
      * Ensure the hlint job exits with a failure if hlint is not installed (otherwise we were ignoring the failure). Given that hlint doesn't seem to be available in CI at the moment, I've temporarily allowed failure in the hlint job.
      * Run all linting tests in CI using hadrian.
      6555b68c
Loading