You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the source requires the data.txt file to be present to compile, I end up with the error message:
"\ndist/build/tmp-2521/src/Foo.hs:4:9:\n Exception when trying to run compile-time code:\n data.txt: openBinaryFile: does not exist (No such file or directory)\n Code: embedFile \"data.txt\"\n In the splice: $(embedFile \"data.txt\")\n"
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).
The text was updated successfully, but these errors were encountered:
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.
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
).The text was updated successfully, but these errors were encountered: