Merge pull request #6956 from edolstra/fix-eval-cache

Fix evaluation cache
This commit is contained in:
Eelco Dolstra
2022-08-24 21:59:06 +02:00
committed by GitHub
-5
View File
@@ -507,11 +507,6 @@ std::shared_ptr<AttrCursor> AttrCursor::maybeGetAttr(Symbol name, bool forceErro
return nullptr;
//throw TypeError("'%s' is not an attribute set", getAttrPathStr());
for (auto & attr : *v.attrs) {
if (root->db)
root->db->setPlaceholder({cachedValue->first, attr.name});
}
auto attr = v.attrs->get(name);
if (!attr) {