Open snoyberg opened 9 years ago
Pinging @mgsloan
Regrettably, I can't see any test for generating haddocks in the presence of TH in the ide-backend testsuite, so the problem may be there from the start. I can't see any obvious flags to tweak and the code for buildExe and buildDoc is very similar so it's surprising one works (I assume) when another fails. Ditto for the non-unique file names.
For the record, I've just tested this example, and the bug is still there.
Example demonstrating the problem:
Since the source requires the
data.txt
file to be present to compile, I end up with the error message:I also ran into an issue at some point about conflicting module names with modules installed in the package database, but I can't reproduce it (that's why I named one of the modules here
Data.ByteString
).