ghc-mod
ghc-mod copied to clipboard
Lint fails with unhelpful error message when not run in project root
withMappedFile probably doesn't expect to be run outside project root (cc @lierdakil)
(Reported on 2017-04-30 via IRC by __monty__)
I'm pretty sure we always chdir to project root, don't we?
I think we only do that in GmlT, that lint is just in GhcModT but I don't recall without looking at the code.