Skip to content

Commit 10a130e

Browse files
committed
Translate local item decls.
1 parent 1b0da12 commit 10a130e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/comp/middle/trans.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2306,6 +2306,9 @@ impure fn trans_stmt(@block_ctxt cx, &ast.stmt s) -> result {
23062306
}
23072307
}
23082308
}
2309+
case (ast.decl_item(?i)) {
2310+
trans_item(cx.fcx.ccx, *i);
2311+
}
23092312
}
23102313
}
23112314
case (_) {

0 commit comments

Comments
 (0)