Remove unimplemented erorr and enable test.

This commit is contained in:
Rafael Ávila de Espíndola 2011-01-24 15:29:38 -05:00
parent c6dec379b0
commit d97137734b
2 changed files with 1 additions and 5 deletions

View File

@ -443,6 +443,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
fn-lval.rs \
fun-call-variants.rs \
fun-indirect-call.rs \
generic-fn.rs \
generic-fn-infer.rs \
generic-drop-glue.rs \
generic-tup.rs \

View File

@ -418,11 +418,6 @@ fn fold_pat_tag(&env e, &span sp, ident i, vec[@ast.pat] args,
fn fold_expr_path(&env e, &span sp, &ast.path p, &option.t[def] d,
ann a) -> @ast.expr {
if (_vec.len[@ast.ty](p.node.types) > 0u) {
e.sess.unimpl("resolving name expr with ty params");
}
auto n_idents = _vec.len[ast.ident](p.node.idents);
check (n_idents != 0u);