- Feb 01, 2018
-
-
-
* Patch flaky parser test This test was a great idea, but it doesn't port over too well to using the GHC lexer. GHC rewrites its input a bit - nothing surprising, but we need to guard against those cases for the test. * Change instance head * Change use site
-
* Add simple framework for running parser fixtures * Compatible with tree-diff-0.0.0.1 * Use parseParas to parse fixtures This allows to test all syntactic constructs available in haddock markup.
-
-
-
Alex Biehl authored
This fixes #546.
-
module names.
-
See #579. This just adds an <a> tag around the heading, pointing to the heading itself.
-
* Start changing to use GHC lexer * better cpp * Change SrcSpan to RealSrcSpan * Remove error * Try to stop too many open files * wip * wip * Revert "wip" This reverts commit b605510a195f26315e3d8ca90e6d95a6737553e1. Conflicts: haddock-api/haddock-api.cabal haddock-api/src/Haddock/Interface.hs * Remove pointless 'caching' * Use dlist rather than lists when finding vars * Use a map rather than list * Delete bogus comment * Rebase followup Things now run using the GHC lexer. There are still - stray debug statements - unnecessary changes w.r.t. master * Cleaned up differences w.r.t. current Haddock HEAD Things are looking good. quasiquotes in particular look beautiful: the TH ones (with Haskell source inside) colour/link their contents too! Haven't yet begun to check for possible performance problems. * Support CPP and top-level pragmas The support for these is hackier - but no more hacky than the existing support. * Tests pass, CPP is better recognized The tests were in some cases altered: I consider the new output to be more correct than the old one.... * Fix shrinking of source without tabs in test * Replace 'Position'/'Span' with GHC counterparts Replaces 'Position' -> 'GHC.RealSrcLoc' and 'Span' -> 'GHC.RealSrcSpan'. * Nits * Forgot entry in .cabal * Update changelog
-
-
Without a complete environment, we will miss some instances that were encountered during typechecking.
-
The GHC-side `getNameToInstancesIndex` filters out incorrectly some instances because it is not aware of what modules are visible. On the Haddock side, we need to pass in the modules we are processing. On the GHC side, we need to check against _those_ modules when checking if an instance is visible.
-
- Jan 20, 2018
- Jan 19, 2018
-
-
Alex Biehl authored
-
- Dec 04, 2017
-
-
Ben Gamari authored
-
- Nov 21, 2017
-
-
Ben Gamari authored
This reverts commit 01eeeb04.
-
Ben Gamari authored
This reverts commit 73a26af8.
-
Ben Gamari authored
This reverts commit 9f054dc3.
-
Ben Gamari authored
This reverts commit 134a7bb0.
-
- Nov 20, 2017
-
-
> Packages using 'cabal-version: >= 1.25' and the autogenerated module Paths_* must include it also on the 'autogen-modules' field besides 'exposed-modules' and 'other-modules'. This specifies that the module does not come with the package and is generated on setup. Modules built with a custom Setup.hs script also go here to ensure that commands like sdist don't fail. # Conflicts: # haddock.cabal
-
With #705 and #706, the custom addition should not be necessary any more. # Conflicts: # ghc.mk
-
Moritz Angermann authored
This was detected by `-Wmissing-home-modules`
-
- Nov 14, 2017
-
-
Alan Zimmerman authored
-
* Actually render infix type operators as infix * Account for things like `(f :*: g) p`, too
-
- Nov 11, 2017
-
-
Alan Zimmerman authored
-
- Nov 08, 2017
-
-
Alan Zimmerman authored
-
- Nov 07, 2017
-
-
Alan Zimmerman authored
-
- Nov 02, 2017
-
-
alexbiehl authored
... event if they have no documentation (e.g. noDocForDecl) By using the information in the AvailInfo we don't need additional export checks.
-
- Nov 01, 2017
-
-
alexbiehl authored
-
- Oct 31, 2017
-
-
alexbiehl authored
-
alexbiehl authored
-
alexbiehl authored
-
alexbiehl authored
-
-
alexbiehl authored
... module cannot be found
-
alexbiehl authored
-
alexbiehl authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@cs.stanford.edu>
-
- Oct 30, 2017
-
-
alexbiehl authored
-