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:
1 parent
ff342fc0c2
commit
21ea00d3ec
1 file changed
+1
@@ -757,6 +757,7 @@ void EvalState::evalFile(const Path & path_, Value & v)
|
||||
void EvalState::resetFileCache()
|
||||
{
|
||||
fileEvalCache.clear();
|
||||
fileParseCache.clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user