Skip to content
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

Support haddock-library-1.11 in ghcide #3222

Closed
Bodigrim opened this issue Sep 24, 2022 · 1 comment
Closed

Support haddock-library-1.11 in ghcide #3222

Bodigrim opened this issue Sep 24, 2022 · 1 comment
Labels
GHC issues with particular GHC versions priority: high High priority item type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@Bodigrim
Copy link
Contributor

Currently it fails with

[24 of 73] Compiling Development.IDE.Spans.Common

src/Development/IDE/Spans/Common.hs:182:87: error:
    • Couldn't match type: (Int, H.DocH String String)
                     with: H.DocH String String
      Expected: [H.DocH String String]
        Actual: [(Int, H.DocH String String)]
    • In the second argument of ‘map’, namely ‘things’
      In the second argument of ‘($)’, namely
        ‘map
           (("1. " ++) . trimStart . splitForList . haddockToMarkdown) things’
      In the second argument of ‘(:)’, namely
        ‘(unlines
            $ map
                (("1. " ++) . trimStart . splitForList . haddockToMarkdown)
                things)’
    |
182 |   = '\n' : (unlines $ map (("1. " ++) . trimStart . splitForList . haddockToMarkdown) things)
    |                                                                                       ^^^^^^
Error: cabal: Failed to build ghcide-1.8.0.0 (which is required by
test:ghcide-tests from ghcide-1.8.0.0).

Cf. haskell/haddock#1523

@Bodigrim Bodigrim added type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. status: needs triage labels Sep 24, 2022
@Bodigrim Bodigrim changed the title Support haddock-library-0.11 in ghcide Support haddock-library-1.11 in ghcide Sep 24, 2022
@michaelpj michaelpj added GHC issues with particular GHC versions priority: high High priority item and removed status: needs triage labels Sep 26, 2022
@July541 July541 closed this as completed Jun 7, 2023
@July541
Copy link
Collaborator

July541 commented Jun 7, 2023

Resolved in #3303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GHC issues with particular GHC versions priority: high High priority item type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

3 participants