Skip to content

Commit 8a6e57e

Browse files
committed
---
yaml --- r: 3228 b: refs/heads/master c: 5894e40 h: refs/heads/master v: v3
1 parent ce62412 commit 8a6e57e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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: 7fc89f573dbc43ffaf09e5931661209d20208a09
2+
refs/heads/master: 5894e400b6b524ba464a7969b7fbb1920418c1f9

trunk/src/comp/middle/alias.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,12 @@ fn expr_root(&ctx cx, @ast::expr ex, bool autoderef) ->
521521
kind=index,
522522
outer_t=auto_unbox.t));
523523
}
524+
case (ty::ty_ivec(?mt)) {
525+
vec::push(ds,
526+
rec(mut=mt.mut != ast::imm,
527+
kind=index,
528+
outer_t=auto_unbox.t));
529+
}
524530
}
525531
maybe_push_auto_unbox(auto_unbox.d, ds);
526532
ex = base;

0 commit comments

Comments
 (0)