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
commit 5b8a53fb49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {