aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/comp/front/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 64f954b8..b2aa6495 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -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 */ }
}