1
Fork 0

Don't recurse twice into ExprParen in vtable checking.

This commit is contained in:
Eduard Burtescu 2014-02-19 22:05:05 +02:00
parent 1228fb0c99
commit 1ca1ff23d3

View file

@ -693,10 +693,6 @@ pub fn early_resolve_expr(ex: &ast::Expr, fcx: @FnCtxt, is_early: bool) {
});
}
ast::ExprParen(e) => {
early_resolve_expr(e, fcx, is_early);
}
// Must resolve bounds on methods with bounded params
ast::ExprBinary(callee_id, _, _, _) |
ast::ExprUnary(callee_id, _, _) |