1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 17:29:36 +01:00

Merge pull request #14525 from NixOS/reset-positions-repl

libexpr: Clear PosTable contents in EvalState::resetFileCache
This commit is contained in:
John Ericson 2025-11-09 21:04:03 +00:00 committed by GitHub
commit 60667e9e5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -1113,6 +1113,7 @@ void EvalState::resetFileCache()
importResolutionCache->clear();
fileEvalCache->clear();
inputCache->clear();
positions.clear();
}
void EvalState::eval(Expr * e, Value & v)