clone
ssh://git@git.notashelf.dev:33/notashelf/nixir.gitCommit a69385c5cabd
tarballunverified1 files changed+5-0
@@ -137,6 +137,11 @@ struct IRGenerator::Impl { } return std::make_shared<Node>(select); }+ if (auto* n = node.get_if<HasAttrNode>()) {+ auto expr = convert(n->expr);+ auto attr = convert(n->attr);+ return std::make_shared<Node>(HasAttrNode(expr, attr, n->line));+ } if (auto* n = node.get_if<WithNode>()) { auto attrs = convert(n->attrs); auto body = convert(n->body);