Skip to content

Commit 46658c4

Browse files
committed
Revert "Revert "Make [] and ~[] both construct ivecs""
This reverts commit 28bf190. Should work now that tests are all using ivecs
1 parent f32079f commit 46658c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/syntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
842842
let es =
843843
parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
844844
p);
845-
ex = ast::expr_vec(es, mut, ast::sk_rc);
845+
ex = ast::expr_vec(es, mut, ast::sk_unique);
846846
} else if (p.peek() == token::POUND_LT) {
847847
p.bump();
848848
let ty = parse_ty(p, false);

0 commit comments

Comments
 (0)