From 21ea00d3ecc5428bcb02e8a7174cfd82ed421b2f Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 31 Dec 2018 10:18:28 -0600 Subject: EvalState::resetFileCache: clear parse cache as well as eval cache Fixes #2546. (at least the basic reproduction I've been testing) --- src/libexpr/eval.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index ab407e56907c..2a194d0e08c9 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -757,6 +757,7 @@ void EvalState::evalFile(const Path & path_, Value & v) void EvalState::resetFileCache() { fileEvalCache.clear(); + fileParseCache.clear(); } -- cgit 1.4.1