about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2011-03-31 22:01:35 -0400
committerBrian Anderson <andersrb@gmail.com>2011-03-31 23:15:11 -0400
commitf05d3c516b085bd489893d7885be0bb687a786f7 (patch)
treed22f95aac03d4d2b0286d5742cbaf85548c56c21
parentcf16f4f7e5bf5d37fc0e254e3c7ccdf0623c50d3 (diff)
Add more comments to trans_block
-rw-r--r--src/comp/middle/trans.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index 6c072c61e83..dd11891c074 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -5407,7 +5407,8 @@ fn trans_block(@block_ctxt cx, &ast.block b) -> result {
                 // FIXME: This is a temporary hack to prevent compile
                 // failures. There's some expression variant that claims
                 // to be ty_nil but but does not translate to T_nil. Need
-                // to hunt it down.
+                // to hunt it down. Of course, if we're talking about nil,
+                // do we really want to do this whole business anyway?
                 if (!is_nil(r_ty)) {
                     // This alloca is declared at the function level, above
                     // the block scope