Skip to content

Commit acd0bd9

Browse files
committed
---
yaml --- r: 3337 b: refs/heads/master c: b732ec6 h: refs/heads/master i: 3335: 51cac9d v: v3
1 parent fde052d commit acd0bd9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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: f3717da1b1dd556d19b449fc648e21c19ace1fb6
2+
refs/heads/master: b732ec6f8297e64c0b1b93253e2ad0a2c64f3a5f

trunk/src/comp/middle/walk.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ fn walk_expr(&ast_visitor v, @ast::expr e) {
340340
}
341341
}
342342
case (ast::expr_fn(?f)) {
343-
walk_fn_decl(v, f.decl);
344-
walk_block(v, f.body);
343+
walk_fn(v, f, e.span, none, e.id);
345344
}
346345
case (ast::expr_block(?b)) { walk_block(v, b); }
347346
case (ast::expr_assign(?a, ?b)) {

0 commit comments

Comments
 (0)