cl-ast: Fix AddrOf misbehavior

This commit is contained in:
2025-01-29 03:31:24 -06:00
parent bc955c6409
commit 518fbe74a1
7 changed files with 24 additions and 28 deletions

View File

@@ -525,11 +525,8 @@ pub mod yamlify {
}
impl Yamlify for AddrOf {
fn yaml(&self, y: &mut Yamler) {
let Self { count, mutable, expr } = self;
y.key("AddrOf")
.pair("count", count)
.yaml(mutable)
.pair("expr", expr);
let Self { mutable, expr } = self;
y.key("AddrOf").yaml(mutable).pair("expr", expr);
}
}
impl Yamlify for Group {