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