Share packed box diagnostics across native execution

This commit is contained in:
gloamxun committed 2026-11-28 07:43:44 +08:00
1 parent 526ec9b3b0
commit ca3730338e
13 files changed
+126 -22

No files matched your search

@@ -66,7 +66,7 @@ fn refresh(b: &mut NativeBox, path: &[usize]) {
refresh(child, rest);
}
if let BoxContent::Horizontal(v) = &b.content {
b.diagnostic = crate::execution::diagnostics::text_nodes(v);
b.diagnostic = crate::execution::diagnostics::text_nodes(v).into();
}
}
fn horizontal(n: NativeVerticalNode) -> TextNode {