Skip to content

Commit f05d3c5

Browse files
committed
Add more comments to trans_block
1 parent cf16f4f commit f05d3c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/comp/middle/trans.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5407,7 +5407,8 @@ fn trans_block(@block_ctxt cx, &ast.block b) -> result {
54075407
// FIXME: This is a temporary hack to prevent compile
54085408
// failures. There's some expression variant that claims
54095409
// to be ty_nil but but does not translate to T_nil. Need
5410-
// to hunt it down.
5410+
// to hunt it down. Of course, if we're talking about nil,
5411+
// do we really want to do this whole business anyway?
54115412
if (!is_nil(r_ty)) {
54125413
// This alloca is declared at the function level, above
54135414
// the block scope

0 commit comments

Comments
 (0)