Merge pull request #2608 from dtzWill/fix/issue-2546

EvalState::resetFileCache: clear parse cache as well as eval cache
This commit is contained in:
Eelco Dolstra 2019-01-10 20:56:31 +01:00 committed by GitHub
commit c7bf1cdb4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();
} }