rustc: Fix bug involving extracting any variant element beyond the first. Un-XFAIL alt-tag.rs.
This commit is contained in:
parent
2a8350e8d9
commit
42789c4b97
@ -519,6 +519,7 @@ TEST_XFAILS_LLVM := $(TASK_XFAILS) \
|
||||
|
||||
TEST_XFAILS_SELF := $(filter-out \
|
||||
$(addprefix test/run-pass/, \
|
||||
alt-tag.rs \
|
||||
arith-0.rs \
|
||||
arith-1.rs \
|
||||
arith-2.rs \
|
||||
|
@ -1425,6 +1425,7 @@ impure fn trans_pat_binding(@block_ctxt cx, @ast.pat pat, ValueRef llval)
|
||||
auto subpat_res = trans_pat_binding(this_cx, subpat,
|
||||
llsubval);
|
||||
this_cx = subpat_res.bcx;
|
||||
i += 1;
|
||||
}
|
||||
|
||||
ret res(this_cx, llval);
|
||||
|
Loading…
x
Reference in New Issue
Block a user