Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove {-# CORE #-} pragma (part of #18048) | Krzysztof Gogolewski | 2020-07-18 | 12 | -34/+3 |
| | | | | | | | This pragma has no effect since 2011. It was introduced for External Core, which no longer exists. Updates haddock submodule. | ||||
* | Improve typechecking of NPlusK patterns | Simon Peyton Jones | 2020-07-18 | 6 | -52/+43 |
| | | | | | | | | | | This patch (due to Richard Eisenberg) improves documentation of the wrapper returned by tcSubMult (see Note [Wrapper returned from tcSubMult] in GHC.Tc.Utils.Unify). And, more substantially, it cleans up the multiplicity handling in the typechecking of NPlusKPat | ||||
* | Allow multiple case branches to have a higher rank type | Simon Peyton Jones | 2020-07-18 | 21 | -610/+638 |
| | | | | | | | | | | | | | | | | | | | | | | | As #18412 points out, it should be OK for multiple case alternatives to have a higher rank type, provided they are all the same. This patch implements that change. It sweeps away GHC.Tc.Gen.Match.tauifyMultipleBranches, and friends, replacing it with an enhanced version of fillInferResult. The basic change to fillInferResult is to permit the case in which another case alternative has already filled in the result; and in that case simply unify. It's very simple actually. See the new Note [fillInferResult] in TcMType Other refactoring: - Move all the InferResult code to one place, in GHC.Tc.Utils.TcMType (previously some of it was in Unify) - Move tcInstType and friends from TcMType to Instantiate, where it more properly belongs. (TCMType was getting very long.) | ||||
* | Add a Lint hadrian rule and an .hlint.yaml file in base/ | Hécate | 2020-07-18 | 6 | -5/+76 |
| | |||||
* | Implement `fullCompilerVersion` | Hécate | 2020-07-18 | 7 | -13/+44 |
| | | | | | | | | Follow-up of https://gitlab.haskell.org/ghc/ghc/-/issues/18403 This MR adds `fullCompilerVersion`, a function that shares the same backend as the `--numeric-version` GHC flag, exposing a full, three-digit version datatype. | ||||
* | rts: Add --copying-gc flag to reverse effect of --nonmoving-gc | Ben Gamari | 2020-07-18 | 2 | -0/+20 |
| | | | | Fixes #18281. | ||||
* | Merge remote-tracking branch 'origin/wip/winio' | Ben Gamari | 2020-07-16 | 156 | -1192/+7450 |
|\ | |||||
| * | testsuite: Add winio and winio_threaded wayswip/winio | Ben Gamari | 2020-07-15 | 11 | -24/+13 |
| | | | | | | | | Reverts many of the testsuite changes | ||||
| * | winio: update lockfile signature and remove mistaken symbol in rts. | Tamar Christina | 2020-07-15 | 5 | -9/+4 |
| | | |||||
| * | winio: clarify comment on cooked mode. | Tamar Christina | 2020-07-15 | 1 | -1/+2 |
| | | |||||
| * | winio: clarify wording on conditional variables. | Tamar Christina | 2020-07-15 | 1 | -1/+2 |
| | | |||||
| * | winio: Accept accepted stderr for linker_unload_multiple_objs | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: Accept accepted stderr for linker_unload | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: Accept accepted stderr for T3807 | Andreas Klebinger | 2020-07-15 | 1 | -0/+4 |
| | | |||||
| * | winio: fix tempfiles test on linux | Andreas Klebinger | 2020-07-15 | 1 | -1/+1 |
| | | |||||
| * | winio: fix T5435_dyn_gcc by accepting expected stderr | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: fix safePkg01 by accepting expected stderr | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: fix cabal01 by accepting expected stderr | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: fix cabal04 by filtering rts args | Andreas Klebinger | 2020-07-15 | 1 | -1/+1 |
| | | |||||
| * | winio: Also accept T7037 stderr | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | |||||
| * | winio: Adjust T5435_dyn_asm stderr | Andreas Klebinger | 2020-07-15 | 1 | -0/+2 |
| | | | | | | | | | | The warning about rtsopts having no consequences is expected. So accept new stderr. | ||||
| * | winio: Adjust T15261b stdout for --io-manager flag. | Andreas Klebinger | 2020-07-15 | 1 | -1/+1 |
| | | |||||
| * | winio: Fix stderr output for ghci/linking/dyn tests. | Andreas Klebinger | 2020-07-15 | 3 | -1/+7 |
| | | | | | | | | | | We used to filter rtsopts, i opted to instead just accept the warning of it having no effect. This works both for -rtsopts, as well as -with-rtsopts which winio adds. | ||||
| * | winio: Fix cabal006 after upgrading cabal submodule | Andreas Klebinger | 2020-07-15 | 4 | -4/+4 |
| | | | | | | | | Demand cabal 2.0 syntax instead of >= 1.20 as required by newer cabal versions. | ||||
| * | winio: Accept T9681 output. | Andreas Klebinger | 2020-07-15 | 1 | -2/+2 |
| | | | | | | | | GHC now reports String instead of [Char]. | ||||
| * | winio: Fix openFile009 merge conflict leftover | Andreas Klebinger | 2020-07-15 | 1 | -4/+0 |
| | | |||||
| * | winio: Fix ThreadDelay001 CPP | Andreas Klebinger | 2020-07-15 | 1 | -1/+1 |
| | | |||||
| * | winio: fix initial linux validate build | Andreas Klebinger | 2020-07-15 | 2 | -2/+4 |
| | | |||||
| * | winio: Remove obsolete comment about cond. variables | Andreas Klebinger | 2020-07-15 | 1 | -5/+0 |
| | | |||||
| * | winio: flushCharReadBuffer shouldn't need to adjust offsets. | Andreas Klebinger | 2020-07-15 | 1 | -5/+8 |
| | | |||||
| * | winio: Update note, remove debugging pragma. | Andreas Klebinger | 2020-07-15 | 1 | -9/+12 |
| | | |||||
| * | winio: Remove historical todos | Andreas Klebinger | 2020-07-15 | 1 | -3/+0 |
| | | |||||
| * | winio: Expand BlockedOnIOCompletion description. | Andreas Klebinger | 2020-07-15 | 1 | -1/+3 |
| | | |||||
| * | winio: Name Haskell/OS I/O Manager explicitly in Note | Andreas Klebinger | 2020-07-15 | 1 | -4/+4 |
| | | |||||
| * | winio: Add a note cross reference | Andreas Klebinger | 2020-07-15 | 1 | -0/+3 |
| | | |||||
| * | winio: Update IOPort haddocks. | Andreas Klebinger | 2020-07-15 | 1 | -8/+16 |
| | | |||||
| * | winio: add comment stating failure behaviour for getUniqueFileInfo. | Andreas Klebinger | 2020-07-15 | 1 | -0/+4 |
| | | |||||
| * | winio: Rename SmartHandles to StdHandles | Andreas Klebinger | 2020-07-15 | 7 | -9/+9 |
| | | |||||
| * | winio: Remove redundant buffer write in Handle/Text.hs:bufReadEmpty | Andreas Klebinger | 2020-07-15 | 1 | -2/+1 |
| | | |||||
| * | winio: Remove commented out pragma | Andreas Klebinger | 2020-07-15 | 1 | -1/+0 |
| | | |||||
| * | winio: Note why we don't use blocking waits. | Andreas Klebinger | 2020-07-15 | 1 | -0/+32 |
| | | |||||
| * | winio: Make it explicit that we only create one IO manager | Andreas Klebinger | 2020-07-15 | 1 | -26/+28 |
| | | |||||
| * | winio: Remove redundant -Wno-missing-signatures pragmas | Andreas Klebinger | 2020-07-15 | 6 | -6/+0 |
| | | |||||
| * | winio: Fix potential spaceleak in __createUUIDTempFileErrNo | Andreas Klebinger | 2020-07-15 | 1 | -0/+4 |
| | | |||||
| * | winio: Expand GHC.Conc.POSIX description | Andreas Klebinger | 2020-07-15 | 1 | -1/+7 |
| | | | | | | | | | | It now explains users may not use these functions when using the old IO manager. | ||||
| * | winio: Rename GHC.Conc.IOCP -> GHC.Conc.WinIO | Andreas Klebinger | 2020-07-15 | 3 | -4/+4 |
| | | |||||
| * | winio: Add version to @since annotation | Andreas Klebinger | 2020-07-15 | 1 | -1/+1 |
| | | |||||
| * | winio: add a note about file locking in the RTS. | Andreas Klebinger | 2020-07-15 | 3 | -0/+18 |
| | | |||||
| * | winio: Don't mention windows specific functions when building on Linux. | Andreas Klebinger | 2020-07-15 | 2 | -3/+24 |
| | | |||||
| * | winio: fix -werror issue in encoding file | Tamar Christina | 2020-07-15 | 1 | -2/+2 |
| | |