diff options
author | Will Dietz <w@wdtz.org> | 2018-12-31T16·18-0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-12-31T16·18-0600 |
commit | 21ea00d3ecc5428bcb02e8a7174cfd82ed421b2f (patch) | |
tree | ed28314dc013f6a0bf6801bc176abba2072200f0 /src/libexpr | |
parent | ff342fc0c2be662dd9791ff32b4d6d63e35aa2e9 (diff) |
EvalState::resetFileCache: clear parse cache as well as eval cache
Fixes #2546. (at least the basic reproduction I've been testing)
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/eval.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |