提交 46658c4a 编写于 作者: B Brian Anderson

Revert "Revert "Make [] and ~[] both construct ivecs""

This reverts commit 28bf1902.

Should work now that tests are all using ivecs
上级 f32079f7
......@@ -842,7 +842,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_rc);
ex = ast::expr_vec(es, mut, ast::sk_unique);
} else if (p.peek() == token::POUND_LT) {
p.bump();
let ty = parse_ty(p, false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册