- May 13, 2024
-
-
Ben Gamari authored
-
- May 10, 2024
-
-
Ben Gamari authored
-
Ben Gamari authored
-
- May 09, 2024
-
-
Ben Gamari authored
-
Move tuple renaming short cutter from `isBuiltInOcc_maybe` to `isPunOcc_maybe`, so we consider incoming module. I also fixed some hidden bugs that raised after the change was done. (cherry picked from commit 94da9365)
-
Ryan Scott authored
Unboxed sum constructors are now defined in the `GHC.Types` module, so if you manually quote an unboxed sum (e.g., `''Sum2#`), you will get a `Name` like: ```hs GHC.Types.Sum2# ``` The `unboxedSumTypeName` function in `template-haskell`, however, mistakenly believes that unboxed sum constructors are defined in `GHC.Prim`, so `unboxedSumTypeName 2` would return an entirely different `Name`: ```hs GHC.Prim.(#|#) ``` This is a problem for Template Haskell users, as it means that they can't be sure which `Name` is the correct one. (Similarly for `unboxedSumDataName`.) This patch fixes the implementations of `unboxedSum{Type,Data}Name` to use `GHC.Types` as the module. For consistency with `unboxedTupleTypeName`, the `unboxedSumTypeName` function now uses the non-punned syntax for unboxed sums (`Sum<N>#`) as the `OccName`. Fixes #24750.
-
Ben Gamari authored
This is entirely redundant to the filename of the URL. There is no compelling reason to name the downloaded file differently from its source.
-
Ben Gamari authored
This reverts commit 250c5df7.
-
- May 08, 2024
-
-
Alan Zimmerman authored
The comments now live in the surrounding location, not inside the Match. Make sure we keep them. Closes #24707 (cherry picked from commit e916fc92)
-
Alan Zimmerman authored
Closes #24754 (cherry picked from commit 7eab4e01)
-
Alan Zimmerman authored
Closes #24749 (cherry picked from commit bf3d4db0)
-
Alan Zimmerman authored
Closes #24714 (cherry picked from commit d5bea4d6)
-
This patch makes the driver always merge objects with `ld -r` when possible, and only fall back to calling `ar -L` when merge objects command is unavailable. This completely reverts !8887 and !12313, given more fixes in Cabal seems to be needed to avoid breaking certain configurations and the maintainence cost is exceeding the behefits in this case :/ (cherry picked from commit 631cefec)
-
(cherry picked from commit 06f7db40)
-
It was introduced in base-4.20, not 4.22. Fix #24721 (cherry picked from commit 92134789)
-
More recent versions of Cabal modify the behaviour of libAbiHash which breaks our usage of registerPackage. It is simpler to inline the part of registerPackage that we need and avoid any additional dependency and complication using the higher-level function introduces. (cherry picked from commit 3fff0977)
-
This small patch fixes #24726, by tracking in-scope variables properly in -drule-check. Not hard to do! (cherry picked from commit be1e60ee)
-
Closes #24771 (cherry picked from commit 46328a49)
-
Closes #24753 (cherry picked from commit 18f4ff84)
-
Fix checkTyClHdr which was discarding comments. Closes #24755 (cherry picked from commit 35d34fde)
-
In instance SDecide Nat where SZero %~ (SSucc _) = Disproved (\case) Ensure the span for the HsLam covers the full construct. Closes #24748 (cherry picked from commit 167a56a0)
-
Preserve comments in fun (Con {- c1 -} a b) = undefined Closes #24736 (cherry picked from commit 40026ac3)
-
Closes #24708 Closes #24715 Closes #24734 (cherry picked from commit 1c2fd963)
-
Closes #24670 (cherry picked from commit 981c2c2c)
-
Ben Gamari authored
This is entirely redundant to the filename of the URL. There is no compelling reason to name the downloaded file differently from its source.
-
- Apr 30, 2024
-
-
Hécate Moonlight authored
-
- Apr 26, 2024
-
-
Ben Gamari authored
`str.isascii` is only supported in Python 3.7 and later.
-
- Apr 25, 2024
-
-
Sylvain Henry authored
(cherry picked from commit daeda834)
-
This commit removes obsolete deletection logic of the patch command from autoconf scripts, given we no longer need to patch anything in the GHC build process. (cherry picked from commit 71f28958)
-
This commit removes obsolete Patch logic from hadrian, given we no longer need to patch the gmp tarball when building in-tree GMP. (cherry picked from commit 65b4b92f)
-
This patch bumps the gmp-tarballs submodule and updates gmp to 6.3.0. The tarball format is now xz, and gmpsrc.patch has been patched into the tarball so hadrian no longer needs to deal with patching logic when building in-tree GMP. (cherry picked from commit 6399d52b)
-
Ben Gamari authored
-
- Apr 24, 2024
-
-
This MR addresses #24463. It's all explained in the new Note [Cloning CoVars and TyVars] (cherry picked from commit 9d38bfa0)
-
This was missing part of the unit ID meaning it would 404. Resolves #24674 (cherry picked from commit f30e4984)
-
Ben Gamari authored
Rather than `hide`. Closes #24659. (cherry picked from commit d7a3d6b5)
-
Zubin authored
The implementation of `checkHomeUnitsClosed` was traversing every single path in the unit dependency graph - this grows exponentially and quickly grows to be infeasible on larger unit dependency graphs. Instead we replace this with a faster implementation which follows from the specificiation of the closure property - there is a closure error if there are units which are both are both (transitively) depended upon by home units and (transitively) depend on home units, but are not themselves home units. To compute the set of units required for closure, we first compute the closure of the unit dependency graph, then the transpose of this closure, and find all units that are reachable from the home units in the transpose of the closure. (cherry picked from commit a933aff3)