Skip to content

Error on install: src/Text/Pandoc/Shared.hs:808:55: Not in scope: `toChunks' #1590

@FloGa

Description

@FloGa

I did a clean cabal install inside the working directory without any other options and it exits with an error stating that toChunks is not in scope in File Shared.hs.

Since I've never worked with Haskell before I can only give you my assumptions, but I guess it has something to do with the conditional import of toChunks and the non-conditional call in fetchItem'. If HTTP_CLIENT is not defined, then obviously there is the possibility of calling toChunks without ever importing it.

Furthermore, git bisect says that the first commit to contain this "bug" is 28321a1 (2014-07-30: "Shared: Added fetchItem', which searches a media bag too.").

(Tested with latest master commit 4455905.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions