feat: await Task results with cancellation and cycle-aware scheduling
This commit is contained in:
+3
-1
@@ -162,7 +162,9 @@ fn shift_expression(expression: &mut Expr, offset: usize) {
|
||||
match &mut expression.kind {
|
||||
ExprKind::Name(_) | ExprKind::Number(_) | ExprKind::String(_) => {}
|
||||
ExprKind::Symbol(name) => shift_span(&mut name.span, offset),
|
||||
ExprKind::Unary { operand, .. } => shift_expression(operand, offset),
|
||||
ExprKind::Unary { operand, .. } | ExprKind::Await { operand } => {
|
||||
shift_expression(operand, offset)
|
||||
}
|
||||
ExprKind::Binary { left, right, .. } => {
|
||||
shift_expression(left, offset);
|
||||
shift_expression(right, offset);
|
||||
|
||||
Reference in New Issue
Block a user