- Jan 30, 2019
-
-
Ben Gamari authored
This reverts commit 76c8fd67.
-
Ben Gamari authored
-
- Jan 28, 2019
-
-
-
Trac #16183 was caused by TH conversion (in `Convert`) not properly inserting parentheses around occurrences of explicit signatures where appropriate, such as in applications, function types, and type family equations. Solution: use `parenthesizeHsType sigPrec` in these places. While I was in town, I also updated `nlHsFunTy` to do the same thing.
-
Should be no change in behavior, but this makes the control flow a little more apparent.
-
-
Ben Gamari authored
Why is it so hard to delete a directory's contents without deleting the directory itself in Windows? This will forever remain a mystery.
-
-
Andreas Klebinger authored
Add missing color mappings to regDotColor for amd64. Also set fakeRegs to red instead of xmm regs.
-
Although we should use 'AC_ARG_ENABLE' for boolean flags, it also means options get named '--enable-*', not '--with-*'. This should unbreak the --with-intree-gmp option.
-
- Jan 27, 2019
-
-
-ddump-json didn't work with --interactive as --interactive overwrote the log_action in terms of defaultLogAction. Reviewers: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #14078 Differential Revision: https://phabricator.haskell.org/D4533
-
-
-
Ömer Sinan Ağacan authored
-
Ben Gamari authored
-
Ben Gamari authored
See #15467.
-
Ben Gamari authored
As pointed out in #16085, these ghci tests are fragile in the unregisterised way.
-
For an API annotation to be useful, it must not occur before the span it is enclosed in. So, for check-api-annotation output, a line such as ((Test16212.hs:3:22-36,AnnOpenP), [Test16212.hs:3:21]), should be flagged as an error, as the AnnOpenP location of 3:21 precedes its enclosing span of 3:22-26. This patch does this. Closes #16217
-
-
-
-
Ben Gamari authored
It imports System.Posix.IO.
-
Ben Gamari authored
Otherwise the testsuite driver crashes when run multiple times with CLEANUP=NO on a test containing such extra_files.
-
Ben Gamari authored
-
Ben Gamari authored
Previously `thNameToGhcName` was calling `lookupOrigNameCache` directly, which failed to handle the case that the name wasn't already in the name cache. This happens, for instance, when the name was in scope in a plugin being used during compilation but not in scope in the module being compiled. In this case we the interface file containing the name won't be loaded and `lookupOrigNameCache` fails. This was the cause of #16104. The solution is simple: use the nicely packaged `lookupOrigIO` instead.
-
Ben Gamari authored
-
Ben Gamari authored
Previously testing code-generation for ISA extensions was nearly impossible since we had no ability to determine whether the host supports the needed extension. Here we fix this by introducing a simple /proc/cpuinfo-based testsuite predicate. We really ought to
-
- Jan 26, 2019
-
-
Sebastian Graf authored
[skip ci]
-
- Jan 25, 2019
-
-
Richard Eisenberg authored
[skip ci]
-
- Jan 23, 2019
-
-
Ben Gamari authored
Apparently GitLab CI defaults to declaring all jobs of the previous stage as dependencies of a job. This meant that we would end up downloading all of our binary distributions during the `cleanup` stage, eating up a truly remarkable amount of S3 tranfers.
-
Ben Gamari authored
See #16085.
-
Gabor Greif authored
-
Gabor Greif authored
-
Ben Gamari authored
It's pretty unlikely we will be going back to circleci at this point [skip-ci]
-
Although the Haddock's for `shiftL` and `shiftR` do require the number of bits to be non-negative, we should still check this before calling out to primitives (which also have undefined behaviour for negative bit shifts). If a user _really_ wants to bypass checks that the number of bits is sensible, they already have the aptly-named `unsafeShiftL`/`unsafeShiftR` at their disposal. See #16111.
-
Ben Gamari authored
-
-
Summary: This adds top-level configure flags '--with-intree-gmp' and '--with-framework-preferred', both of which are especially relevant on MacOS. Besides gaining two new flags, Hadrian also had to be taught what to do with the 'framework' in .cabal files. Test Plan: ./boot && ./configure --with-intree-gmp && ./hadrian/build.sh ./boot && ./configure --with-gmp-framework-preferred && ./hadrian/build.sh # on macos Reviewers: carter, snowleopard, alpmestan, hvr, goldfire, bgamari Subscribers: rwbarton, erikd GHC Trac Issues: #16001 Differential Revision: https://phabricator.haskell.org/D5417
-
Ben Gamari authored
-
Ben Gamari authored
See #16218.
-