From 28bf19021981bd41a365aaa684c71afd2cf079d7 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 14 Aug 2011 12:54:13 -0700 Subject: [PATCH] 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 --- src/comp/syntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);