Avoid re-parsing of input source files #2367
Conversation
|
Yes, I'm using a global If we want to avoid that, we need to find a place to store an arbitrary value (in this case, a |
There was a problem hiding this comment.
Thanks @gergoerdi.
I left a couple of comments for you to consider.
Does this PR solve your use case? If not, what else would be necessary?
Not fully yet, no. I'll add details to #235, but basically there are two other points where source files are read in by LH. One of them is easily disabled by just setting |
|
FWIW, I 100% disagree with the HLint suggestion here:
|
facundominguez
left a comment
There was a problem hiding this comment.
FWIW, I 100% disagree with the HLint suggestion here:
Want to try disabling that one either globally or only in Plugin.hs?
|
In fact, in review I don't like my current code either :) So what we really want is:
I'm not sure we should ever remove the I'll redo the implementation based on these ideas. |
just signal to ourselves what's going on. Fixes ucsd-progsys#2366
…Module` in the appropriate plugin hook Part of ucsd-progsys#2357
facundominguez
left a comment
There was a problem hiding this comment.
Can't find anything else to complain about 🎉
Part of the work towards #2357