Skip to content

Commit 6ba1583

Browse files
committed
---
yaml --- r: 4883 b: refs/heads/master c: a246623 h: refs/heads/master i: 4881: 8a1ffa5 4879: 89a6efe v: v3
1 parent bba856b commit 6ba1583

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 1a45a84e73a92e8a985b382e8461723acd361220
2+
refs/heads/master: a2466233b4217cc8da4d2ebcd5f7c0b11db5b861

trunk/src/comp/middle/trans_alt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ fn bind_irrefutable_pat(bcx: @block_ctxt, pat: &@ast::pat, val: ValueRef,
529529
bcx = trans::copy_val(bcx, trans::INIT, alloc,
530530
trans::load_if_immediate(bcx, val, ty), ty);
531531
table.insert(pat.id, alloc);
532+
trans_common::add_clean(bcx, alloc, ty);
532533
} else { table.insert(pat.id, val); }
533534
}
534535
ast::pat_tag(_, sub) {

0 commit comments

Comments
 (0)