aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/test/Spec.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-05-12 14:36:08 -0400
committerAlex Biehl <alexbiehl@gmail.com>2017-05-12 20:36:08 +0200
commitb7d7b7acd42cbe424afde3c8a5a59a0706445343 (patch)
tree77853349215ae8b70abbcb1d484859953840203d /haddock-api/test/Spec.hs
parenta0c4790e15a2d3fab8d830eee8fcd639fe6d39c9 (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/Spec.hs')
0 files changed, 0 insertions, 0 deletions