- Feb 03, 2021
-
-
Ben Gamari authored
-
- Feb 02, 2021
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
This is needed on FreeBSD.
-
Ben Gamari authored
Ensure that deb10-dwarf artifacts are preserved.
-
- Feb 01, 2021
-
-
Ryan Scott authored
An accidental use of `tcSymbol` instead of `tcNat` in the `TypeLitNat` case of `mkTypeLitFromString` meant that it was possible to unsafely equate `Nat` with `Symbol`. A consequence of this is that you could write `unsafeCoerce`, as observed in #19288. This is fixed easily enough, thankfully. Fixes #19288. (cherry picked from commit d4bcd37f)
-
Simon Peyton Jones authored
The motivation is given in Note [tcFamTyPats: zonking the result kind]. Fixes #19250 -- the fix is easy. (cherry picked from commit 69cab37a)
-
- Jan 30, 2021
-
-
Sylvain Henry authored
(cherry picked from commit bd877edd)
-
- Jan 29, 2021
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
Scripts taken from autoconf 6faca61810d335c7837f320733fe8e15a1431fc2
-
- Jan 27, 2021
-
-
Ben Gamari authored
We do not support foreign "C" imports of varargs functions. While this works on amd64, in general the platform's calling convention may need more type information that our Cmm representation can currently provide. For instance, this is the case with Darwin's AArch64 calling convention. Document this fact in the users guide and fix T5423 which makes use of a disallowed foreign import. Closes #18854. (cherry picked from commit 0b772221)
-
- Jan 26, 2021
-
-
Ben Gamari authored
-
Plugins.o link error was reported on several platforms: error: undefined symbol: ghc_GHCziCoreziOptziMonad_zdfxMonadCoreM_closure Removing an uneeded {-# SOURCE #-} import seems to resolve the issue. Fixes: ghc/ghc#19138
-
Otherwise we end up with terminating \r characters on Windows. (cherry picked from commit 08d81194)
-
Ben Gamari authored
This wraps the existing GHCi wrapper script (driver/ghci/ghci.c) in a cabal file and adds the package to Hadrian. (cherry picked from commit 32d9fdef)
-
Ben Gamari authored
(cherry picked from commit fa0ca195)
-
(cherry picked from commit 4517a382)
-
(cherry picked from commit f065b6b0)
-
For some architectures the C calling convention is that any integer shorter than 64 bits is replaced by its 64 bits representation using sign or zero extension. Fixes #19023. (cherry picked from commit 0ac5860e)
-
Ben Gamari authored
When -XStrict is enabled the rules for irrefutability are slightly modified. Specifically, the pattern in a program like do ~(Just hi) <- expr cannot be considered irrefutable. The ~ here merely disables the bang that -XStrict would usually apply, rendering the program equivalent to the following without -XStrict do Just hi <- expr To achieve make this pattern irrefutable with -XStrict the user would rather need to write do ~(~(Just hi)) <- expr Failing to account for this resulted in #19027. To fix this isIrrefutableHsPat takes care to check for two the irrefutability of the inner pattern when it encounters a LazyPat and -XStrict is enabled. (cherry picked from commit 95b346f1)
-
Previously, the configure script doesn't respect $AR. This causes the nixpkgs GHC to capture "ar" instead of the absolute nix store path of ar in the global config. The original patch comes from https://github.com/input-output-hk/haskell.nix/blob/master/overlays/patches/ghc/respect-ar-path.patch. (cherry picked from commit 5608492a)
-
This fixes test Linear14. The code in Unify.hs was always using multiplicity Many instead of a new metavariable. (cherry picked from commit 65721691)
-
-
(cherry picked from commit 62cac31c)
-
The unapplied arguments were not printed out. (cherry picked from commit 5eb22fa2)
-
Richard Eisenberg authored
See commentary in tcCheckUsage. Close #18998. Test case: typecheck/should_compile/T18998 (cherry picked from commit df7c7faa)
-
This happend in master in 9fa26aa1
-
- Jan 25, 2021
-
-
Ben Gamari authored
LLVM is too old on Debian 9.
-
Ben Gamari authored
Previously it failed to do so as BUILD_FLAVOUR was overridden by the .release transclusion.
-
David Feuer authored
The `Applicative` instance is the most important one (for array/vector/sequence indexing purposes), but it deserves all the usual ones. T12545 does silly 1% wibbles both ways, it seems, maybe depending on architecture. Metric Increase: T12545 Metric Decrease: T12545
-
- Jan 22, 2021
-
-
Ben Gamari authored
-
Ben Gamari authored
Fixes #19173.
-
Ben Gamari authored
-
Ben Gamari authored
Previously the Hadrian jobs used the `FLAVOUR` environment variable to communicate which flavour `ci.sh` should build whereas `make` used `BUILD_FLAVOUR`. This caused unnecessary confusion. Consolidate these two. (cherry picked from commit 59b08a5d)
-
Ben Gamari authored
Previously the wrong flavour variable was being set.
-
Ben Gamari authored
The native-code codepath uses dlinfo to identify memory regions owned by a loaded dynamic object, facilitating safe unload. Unfortunately, this interface is not always available. Add an autoconf check for it and introduce a safe fallback behavior. Fixes #19159. (cherry picked from commit c53c9d29)
-
Ben Gamari authored
(cherry picked from commit 6ac3db5f)
-