-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With packages in subdirs, compiler warnings leave subdirectory off file names #1259
Comments
I've reproduced. It looks to me like this code tries to canonicalize the path from the current directory rather than from the package's root directory. So if you do |
Should now be fixed in master. |
Thanks for quick action! Unfortunately I still have the problem. Or, a similar problem.
|
Hm, strange. I actually tested the fix with the Snowdrift repo. |
Let me double-triple-confirm, because I appear to be getting different On Sat, Oct 31, 2015 at 5:00 PM, Emanuel Borsboom [email protected]
|
Oops, can't do it now. I'll check it tomorrow. |
Ok, there was a second issue: it wasn't canonicalizing paths for warnings, only those for errors. That's now fixed on master as well. |
Ah, that was my hunch. Great!
|
I have a package in the subdirectory 'original/'. A compiler warning mentions a file in that package, Mechanism.hs. However, it's listed as "src/Mechanism.hs", not "original/src/Mechanism.hs":
The text was updated successfully, but these errors were encountered: