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.)
I did a clean
cabal installinside the working directory without any other options and it exits with an error stating thattoChunksis 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
toChunksand the non-conditional call infetchItem'. IfHTTP_CLIENTis not defined, then obviously there is the possibility of callingtoChunkswithout ever importing it.Furthermore,
git bisectsays 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.)