aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/middle/trans.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs
index 4fab3454..d0569afc 100644
--- a/src/comp/middle/trans.rs
+++ b/src/comp/middle/trans.rs
@@ -5508,8 +5508,8 @@ fn collect_items(@crate_ctxt cx, @ast.crate crate) {
let fold.ast_fold[@crate_ctxt] fld =
fold.new_identity_fold[@crate_ctxt]();
- // FIXME: if ty_tag had a pointer directly to the definition instead
- // of a def_id, we wouldn't need the second pass.
+ // FIXME: It might be better to use a worklist for this. An item
+ // would be added to it if it depends on a not yet seen tag for example.
auto fld1 =
@rec( update_env_for_item = bind collect_item(_,_),