Very specific use case: I'm building an autotester system, where students submit their assignments, which is automarked.
However, VSCode will often insert bogus imports, which cannot get resolved on the testing machine. However, those modules are never used. Is thee a way to ignore the error, and force compilation? Something like -fdefer-out-of-scope-variables?
This is the kind of error, can I forcefully ignore it, and throw only if a symbol cannot be resolved?:
Submission.hs:5:1: error:
Failed to load interface for ‘GHC.CmmToAsm.PPC.Instr’
Use -v to see a list of the files searched for.