aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
diff options
context:
space:
mode:
authorAlex Biehl <alexbiehl@gmail.com>2017-05-12 21:02:33 +0200
committerGitHub <noreply@github.com>2017-05-12 21:02:33 +0200
commitb35eed2a9f1c82131f51f55c771ac2372127520d (patch)
tree0f2a534b9ef460f8c8e5db4df548f449e5cff30c /haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs
parentd300632cbc2346f6d95188426e5db5fbeb7c9f34 (diff)
Haddock: Fix broken lazy IO in prologue reading (#615)
We previously used withFile in conjunction with hGetContents. The list returned by the latter wasn't completely forced by the time we left the withFile block, meaning that we would try to read from a closed handle.
Diffstat (limited to 'haddock-api/test/Haddock/Backends/Hyperlinker/ParserSpec.hs')
0 files changed, 0 insertions, 0 deletions