Skip to content

Commit 28bf190

Browse files
committed
Revert "Make [] and ~[] both construct ivecs"
This reverts commit 60e1cea. The check-fast driver can't work with this commit. Need to wait until main taks ivecs
1 parent 1dbf096 commit 28bf190

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
@@ -803,7 +803,7 @@ fn parse_bottom_expr(p: &parser) -> @ast::expr {
803803
let es =
804804
parse_seq_to_end(token::RBRACKET, some(token::COMMA), parse_expr,
805805
p);
806-
ex = ast::expr_vec(es, mut, ast::sk_unique);
806+
ex = ast::expr_vec(es, mut, ast::sk_rc);
807807
} else if (p.peek() == token::POUND_LT) {
808808
p.bump();
809809
let ty = parse_ty(p);

0 commit comments

Comments
 (0)