Skip to content

Commit 5b97fd5

Browse files
committed
---
yaml --- r: 6924 b: refs/heads/master c: eacb629 h: refs/heads/master v: v3
1 parent df43b7b commit 5b97fd5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0490c36143a525d3e17598531e47eab06381ae84
2+
refs/heads/master: eacb629442e0e0869c6e230671afdeb8d002eefb

trunk/src/comp/syntax/fold.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ fn noop_fold_item_underscore(i: item_, fld: ast_fold) -> item_ {
229229
ret alt i {
230230
item_const(t, e) { item_const(fld.fold_ty(t), fld.fold_expr(e)) }
231231
item_fn(decl, typms, body) {
232-
item_fn(fold_fn_decl(decl, fld), typms, fld.fold_block(body))
232+
let body = fld.fold_block(body);
233+
item_fn(fold_fn_decl(decl, fld), typms, body)
233234
}
234235
item_mod(m) { item_mod(fld.fold_mod(m)) }
235236
item_native_mod(nm) { item_native_mod(fld.fold_native_mod(nm)) }

0 commit comments

Comments
 (0)