about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-01 12:51:46 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-01 12:51:46 -0700
commita34b61fb1522cab29f87adb79fa1be2a8984ff09 (patch)
tree1fffce837f36546a032b02e7948b0fec8c1e5963 /src/comp
parent021b203fc6f0c45d73f12da058ffbd227a0de3e0 (diff)
downloadrust-a34b61fb1522cab29f87adb79fa1be2a8984ff09.tar.gz
rust-a34b61fb1522cab29f87adb79fa1be2a8984ff09.zip
Add some FIXMEs for issue #607
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/back/link.rs1
-rw-r--r--src/comp/front/attr.rs5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/comp/back/link.rs b/src/comp/back/link.rs
index 0c016afd975..562b029dfe8 100644
--- a/src/comp/back/link.rs
+++ b/src/comp/back/link.rs
@@ -332,6 +332,7 @@ fn build_link_meta(&session::session sess, &ast::crate c,
                     sha.input_str(len_and_str(name));
                 }
                 case (ast::meta_list(_, _)) {
+                    // FIXME (#607): Implement this
                     fail "unimplemented meta_item variant";
                 }
             }
diff --git a/src/comp/front/attr.rs b/src/comp/front/attr.rs
index e29e5c95de7..1312851c5f0 100644
--- a/src/comp/front/attr.rs
+++ b/src/comp/front/attr.rs
@@ -96,7 +96,9 @@ fn eq(@ast::meta_item a, @ast::meta_item b) -> bool {
             }
         }
         case (ast::meta_list(?na, ?la)) {
-            // FIXME (#487): This involves probably sorting the list by name
+            // FIXME (#607): Needs implementing
+            // This involves probably sorting the list by name and
+            // meta_item variant
             fail "unimplemented meta_item variant"
         }
     }
@@ -115,6 +117,7 @@ fn contains(&vec[@ast::meta_item] haystack, @ast::meta_item needle) -> bool {
     ret false;
 }
 
+// FIXME: This needs to sort by meta_item variant in addition to the item name
 fn sort_meta_items(&vec[@ast::meta_item] items) -> vec[@ast::meta_item] {
     fn lteq(&@ast::meta_item ma, &@ast::meta_item mb) -> bool {
         fn key(&@ast::meta_item m) -> ast::ident {