removing an app file but not the imports clause causes the cached file to be loaded

Submitted by Danny Groenewegen on 10 February 2010 at 16:39

On 10 February 2010 at 17:05 Lennart Kats commented:

Hm, I think my Stratego analyzer has the same problem :) [edit]Nope, doesn’t seem to be the case.[/edit]


On 22 April 2010 at 01:11 Nathan Bruning commented:

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.


On 14 March 2012 at 12:32 Elmer van Chastelet tagged caching

On 19 September 2013 at 15:08 Elmer van Chastelet tagged compiler-cache

Log in to post comments