EvalState::resetFileCache: clear parse cache as well as eval cache

Fixes #2546.

(at least the basic reproduction I've been testing)
This commit is contained in:
Will Dietz 2018-12-31 10:18:28 -06:00
parent ff342fc0c2
commit 21ea00d3ec

View file

@ -757,6 +757,7 @@ void EvalState::evalFile(const Path & path_, Value & v)
void EvalState::resetFileCache() void EvalState::resetFileCache()
{ {
fileEvalCache.clear(); fileEvalCache.clear();
fileParseCache.clear();
} }