| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reviewers: austin
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D358
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit e2ed3b9d8dfab09f1b1861dbc8e74f08e137ebcc)
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Austin Seipp <austin@well-typed.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Austin Seipp <austin@well-typed.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make `getPrologue` force `parseParas dflags str` before returning. Without this,
it will attempt to read from the file after it is closed, with unspecified and
generally bad results.
Signed-off-by: David Feuer <David.Feuer@gmail.com>
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 0cc5bc85e9fca92ab712b68a2ba2c0dd9d3d79f4 since
it turns out we don't need to re-export `empty` from Control.Monad after
all.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit db14fd8ab4fab43694139bc203808b814eafb2dc.
It's in HEAD now.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 4023817d7c0e46db012ba2eea28022626841ca9b temporarily
as the respective feature hasn't landed in GHC HEAD yet, but this commit
blocks later commits from being referenced in GHC HEAD.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
GHC fails type-inference with `OverloadedStrings` + `Data.Foldable.elem`
otherwise.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is needed to keep the compilation warning free (and thus pass GHC's
./validate) regardless of whether Word is re-exported from Prelude or not
See https://ghc.haskell.org/trac/ghc/ticket/9531 for more details
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also fix a bug with finding the package name and version given a
module. This had become wrong due to the package key changes (it was
very hacky in the first place). We now look up the package key in the
package db to get the package info properly.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The wildcard refactoring was introduced a new type of signature,
`ClassOpSig`, which is carried by typeclasses. The original patch
adapting Haddock for this change missed a few places where this
constructor needed to be handled, resulting in no class methods
in documentation produced by Haddock.
Additionally, this moves and renames the `isVanillaLSig` helper from
GHC's HsBinds module into GhcUtils, since it is only used by Haddock.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A GADT Declaration is now presented as
CmmCondBranch :: {..} -> CmmNode O C
cml_pred :: CmmExpr
cml_true, cml_false :: !Label
cml_likely :: Maybe Bool
for
CmmCondBranch :: { -- conditional branch
cml_pred :: CmmExpr,
cml_true, cml_false :: ULabel,
cml_likely :: Maybe Bool -- likely result of the conditional,
-- if known
} -> CmmNode O C
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
|
| | | |
| | | |
| | | |
| | | | |
Follows from GHC D1460.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The treatment of type families changed.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Still incomplete
|
| | | |
| | | |
| | | |
| | | | |
Not yet complete (but on a wip/ branch)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This compiles, but will probably need more work to produce good
documentation when the DuplicateRecordFields extension is used.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
With recent changes in GHC handling of strictness annotations in Haddock
is simplified.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Phab:D907 introduced SourceText for a number of data types, by replacing
FastString with (SourceText,FastString). Since this has an Outputable
instance, no warnings are generated when ppr is called on it, but
unexpected output is generated. See Phab:D1096 for an example of this.
Replace the (SourceText,FastString) tuples with a new data type
data WithSourceText = WithSourceText SourceText FastString
Trac ticket: #10692
|
| | | | |
|