Generator literal support
This commit is contained in:
@@ -1303,6 +1303,8 @@ pub fn noop_fold_expr<T: Folder>(Expr {id, node, span, attrs}: Expr, folder: &mu
|
||||
attrs: fold_attrs(attrs.into(), folder).into(),
|
||||
};
|
||||
}
|
||||
ExprKind::Yield(ex) => ExprKind::Yield(ex.map(|x| folder.fold_expr(x))),
|
||||
ExprKind::ImplArg => ExprKind::ImplArg,
|
||||
ExprKind::Try(ex) => ExprKind::Try(folder.fold_expr(ex)),
|
||||
ExprKind::Catch(body) => ExprKind::Catch(folder.fold_block(body)),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user