-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Haddock combinator 'many' is applied to a parser that accepts an empty string. #179
Comments
Probably related to #176 yes, but if |
It very well might be Haddock doing something fishy, but I'm out of my depth here. My impression from the changelog was that #176 was not behaviour-changing, mere code deduplication. It might be worth to clarify that it fixed some bugs / infelicities if any. |
I'll revert #176 for no to unblock GHC updates, and investigate what's wrong happening with |
The offending code looks like: emptyLines = void $ many (try (skipHorizontalSpace *> "\n")) where
I have to remember the intricacies of In skipping emtpy lines (probably related to indentation handling?) the idea is to do an arbitrary long look-ahead, so something like The "check" in |
I tried to bump
parsec
submodule in GHC subtree to HEAD, but got(See https://gitlab.haskell.org/ghc/ghc/-/jobs/1665458#L5015 for the full log)
Is it related to #176?
The text was updated successfully, but these errors were encountered: