Skip to content
Snippets Groups Projects
  1. Oct 04, 2023
    • Krzysztof Gogolewski's avatar
      Add a regression test for #24029 · 2f0a101d
      Krzysztof Gogolewski authored and Marge Bot's avatar Marge Bot committed
      2f0a101d
    • Ben Gamari's avatar
      configure: Fix #21712 again · f6b2751f
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      This is a bit of a shot in the dark to fix #24033, which appears to be
      another instance of #21712. For some reason the ld-override logic
      *still* appears to be active on Darwin targets (or at least one).
      Consequently, on misconfigured systems we may choose a non-`ld64`
      linker.
      
      It's a bit unclear exactly what happened in #24033 but ultimately the
      check added for #21712 was not quite right, checking for the
      `ghc_host_os` (the value of which depends upon the bootstrap compiler)
      instead of the target platform. Fix this.
      
      Fixes #24033.
      f6b2751f
    • Bodigrim's avatar
      Inline bucket_match · 4e46dc2b
      Bodigrim authored and Marge Bot's avatar Marge Bot committed
      4e46dc2b
    • Bodigrim's avatar
      Bump bytestring submodule to 0.12.0.2 · 9c9ca67e
      Bodigrim authored and Marge Bot's avatar Marge Bot committed
      9c9ca67e
  2. Oct 02, 2023
  3. Sep 30, 2023
    • Ben Gamari's avatar
      users-guide: Refactor handling of :base-ref: et al. · c1a3ecde
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      c1a3ecde
    • Alan Zimmerman's avatar
      EPA: Replace Monoid with NoAnn · 1424f790
      Alan Zimmerman authored and Marge Bot's avatar Marge Bot committed
      We currently use the Monoid class as a constraint on Exact Print
      Annotation functions, so we can use mempty. But this leads to
      requiring Semigroup instances too, which do not always make sense.
      
      Instead, introduce a class NoAnn, with a function noAnn analogous to
      mempty.
      
      Closes #20372
      
      Updates haddock submodule
      1424f790
    • Andreas Klebinger's avatar
      AArch64: Fix broken conditional jumps for offsets >= 1MB · 2adc0508
      Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
      Rewrite conditional jump instructions with offsets >= 1MB to use unconditional jumps
      to avoid overflowing the immediate.
      
      Fixes #23746
      2adc0508
    • Andreas Klebinger's avatar
      Arm: Make ppr methods easier to use by not requiring NCGConfig · b048bea0
      Andreas Klebinger authored and Marge Bot's avatar Marge Bot committed
      b048bea0
    • Simon Peyton Jones's avatar
      Refactor to combine HsLam and HsLamCase · ef5342cd
      Simon Peyton Jones authored and Marge Bot's avatar Marge Bot committed
      This MR is pure refactoring (#23916):
      * Combine `HsLam` and `HsLamCase`
      * Combine `HsCmdLam` and `HsCmdLamCase`
      
      This just arranges to treat uniformly
         \x -> e
         \case pi -> ei
         \cases pis -> ie
      
      In the exising code base the first is treated differently
      to the latter two.
      
      No change in behaviour.
      
      More specifics:
      
      * Combine `HsLam` and `HsLamCase` (constructors of `Language.Haskell.Syntax.Expr.HsExpr`) into one data construtor covering
        * Lambda
        * `\case`
        * `\cases`
      
      * The new `HsLam` has an argument of type `HsLamVariant` to distinguish the three cases.
      
      * Similarly, combine `HsCmdLam` and `HsCmdLamCase` (constructors of `Language.Haskell.Syntax.Expr.HsCmd` ) into one.
      
      * Similarly, combine `mkHsLamPV` and `mkHsLamCasePV` (methods of class `DisambECP`) into one. (Thank you Alan Zimmerman.)
      
      * Similarly, combine `LambdaExpr` and `LamCaseAlt` (constructors of `Language.Haskell.Syntax.Expr.HsMatchContext`) into one: `LamAlt` with a `HsLamVariant` argument.
      
      * Similarly, combine `KappaExpr` and `ArrowLamCaseAlt` (constructors of `Language.Haskell.Syntax.Expr.HsArrowMatchContext`) into one: `ArrowLamAlt` with a `HsLamVariant` argument.
      
      * Similarly, combine `PsErrLambdaInPat` and `PsErrLambdaCaseInPat` (constructors of `GHC.Parser.Errors.Ppr.PsError`) into one.
      
      * Similarly, combine `PsErrLambdaInPat` and `PsErrLambdaCaseInPat` (constructors of `GHC.Parser.Errors.Ppr.PsError`) into one.
      
      * In the same `PsError` data type, combine `PsErrLambdaCmdInFunAppCmd` and `PsErrLambdaCaseCmdInFunAppCmd` into one.
      
      * In the same `PsError` data tpye, combine `PsErrLambdaInFunAppExpr` and `PsErrLambdaCaseInFunAppExpr` into one.
      
      p* Smilarly combine `ExpectedFunTyLam` and `ExpectedFunTyLamCase` (constructors of `GHC.Tc.Types.Origin.ExpectedFunTyOrigin`) into one.
      
      Phew!
      ef5342cd
    • Torsten Schmits's avatar
      Fix several mistakes around free variables in iface breakpoints · d3874407
      Torsten Schmits authored and Marge Bot's avatar Marge Bot committed
      Fixes #23612 , #23607, #23998 and #23666.
      
      MR: !11026
      
      The fingerprinting logic in `Iface.Recomp` failed lookups when processing decls containing breakpoints for two reasons:
      
      * IfaceBreakpoint created binders for free variables instead of expressions
      
      * When collecting free names for the dependency analysis for fingerprinting, breakpoint FVs were skipped
      d3874407
  4. Sep 28, 2023
    • Matthew Craven's avatar
      Fix visibility when eta-reducing a type lambda · b8ebf876
      Matthew Craven authored and Marge Bot's avatar Marge Bot committed
      Fixes #24014.
      b8ebf876
    • Ben Gamari's avatar
      hadrian: Install LICENSE files in bindists · 9cdd629b
      Ben Gamari authored and Marge Bot's avatar Marge Bot committed
      Fixes #23548.
      9cdd629b
    • sheaf's avatar
      lint-codes: add Hadrian targets · a38ae69a
      sheaf authored and Marge Bot's avatar Marge Bot committed
      This commit adds new Hadrian targets:
      
        codes, codes:used - list all used diagnostic codes
        codes:outdated - list outdated diagnostic codes
      
      This allows users to easily query GHC for used and outdated
      diagnostic codes, e.g.
      
        hadrian/build -j --flavour=<..> codes
      
      will list all used diagnostic codes in the command line by running
      the lint-codes utility in the "list codes" mode of operation.
      
      The diagnostic code consistency and coverage test is still run as usual,
      through the testsuite:
      
        hadrian/build test --only="codes"
      a38ae69a
    • 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. Sep 27, 2023
  6. Sep 26, 2023
  7. Sep 23, 2023
  8. Sep 21, 2023
Loading