about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-14 12:54:13 -0700
committerBrian Anderson <banderson@mozilla.com>2011-08-14 12:54:18 -0700
commit28bf19021981bd41a365aaa684c71afd2cf079d7 (patch)
treecf618860da73842720e70a5e190c2b73d6d9d607 /src/comp
parent1dbf0965a181484477f3daad6da45b8d9d9d0d95 (diff)
downloadrust-28bf19021981bd41a365aaa684c71afd2cf079d7.tar.gz
rust-28bf19021981bd41a365aaa684c71afd2cf079d7.zip
Revert "Make [] and ~[] both construct ivecs"
This reverts commit 60e1cead9bab129b1937a11c71ab2ab2fd751792.

The check-fast driver can't work with this commit. Need to wait until main
taks ivecs
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/syntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index dcd45864b1a..39843072c2a 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -803,7 +803,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
         let es =
             parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
                              p);
-        ex = ast::expr_vec(es, mut, ast::sk_unique);
+        ex = ast::expr_vec(es, mut, ast::sk_rc);
     } else if (p.peek() == token::POUND_LT) {
         p.bump();
         let ty = parse_ty(p);