Fix typo in expr_recv parsing

This commit is contained in:
Brian Anderson 2011-03-12 20:57:19 -05:00 committed by Graydon Hoare
parent 644d8b95da
commit f0842030f3

View File

@ -1123,7 +1123,7 @@ impure fn parse_assign_expr(parser p) -> @ast.expr {
p.bump();
auto rhs = parse_expr(p);
ret @spanned(lo, rhs.span,
ast.expr_send(lhs, rhs, ast.ann_none));
ast.expr_recv(lhs, rhs, ast.ann_none));
}
case (_) { /* fall through */ }
}