parser cache and removing files (1)
removing an app file but not the imports clause causes the cached file to be loadedSubmitted by Danny Groenewegen on 10 February 2010 at 16:39
Hm, I think my Stratego analyzer has the same problem :) Nope, doesn’t seem to be the case.[/edit]
Also, updating the compiler version generates a new cache file for each module, without deleting the old variant.
Have a look at my backend-caching code, i’m deleting files that are not being accessed during compilation to prevent stale cache issues. Also, storing the compiler version along the cache-file (instead of putting it in the filename) solves the ‘update-compiler’ problem.
We should be able to use the same cache-prune scheme for both parsing- and generation-caching.
Log in to post comments