feat: await Task results with cancellation and cycle-aware scheduling

This commit is contained in:
2026-10-23 20:15:10 +08:00
parent 7bb59fe06f
commit 750484477b
4 changed files with 125 additions and 17 deletions
+1 -1
View File
@@ -1346,7 +1346,7 @@ impl Architecture {
ExprKind::Number(value) => (value.clone(), "number", vec![]),
ExprKind::String(value) => (value.chars().take(40).collect(), "string", vec![]),
ExprKind::Symbol(name) => (name.text.clone(), "symbol", vec![]),
ExprKind::Unary { operand, .. } => {
ExprKind::Unary { operand, .. } | ExprKind::Await { operand } => {
("negate".into(), "unary", vec![self.expression(operand)])
}
ExprKind::Binary { left, right, .. } => (