Fix another bug in expr_index parse rule.
This commit is contained in:
@@ -499,7 +499,7 @@ impure fn parse_path_expr(parser p) -> @ast.expr {
|
||||
|
||||
case (token.LPAREN) {
|
||||
p.bump();
|
||||
auto ix = parse_bottom_expr(p);
|
||||
auto ix = parse_expr(p);
|
||||
hi = ix.span;
|
||||
expect(p, token.RPAREN);
|
||||
auto e_ = ast.expr_index(e, ix, ast.ann_none);
|
||||
|
||||
Reference in New Issue
Block a user