Skip to content

Commit ea909a7

Browse files
committed
---
yaml --- r: 3025 b: refs/heads/master c: cc3d484 h: refs/heads/master i: 3023: 94c6d99 v: v3
1 parent a7c427e commit ea909a7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-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: 3ce82d2e70462bda9b6bcbc12287cbfb00ec7c92
2+
refs/heads/master: cc3d484d9d71619c5fbeaf20e7833b75dcc4349f

trunk/src/comp/middle/ty.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,12 @@ fn equal_type_structures(&sty a, &sty b) -> bool {
12221222
case (_) { ret false; }
12231223
}
12241224
}
1225+
case (ty_istr) {
1226+
alt (b) {
1227+
case (ty_istr) { ret true; }
1228+
case (_) { ret false; }
1229+
}
1230+
}
12251231
case (ty_tag(?id_a, ?tys_a)) {
12261232
alt (b) {
12271233
case (ty_tag(?id_b, ?tys_b)) {
@@ -1251,6 +1257,12 @@ fn equal_type_structures(&sty a, &sty b) -> bool {
12511257
case (_) { ret false; }
12521258
}
12531259
}
1260+
case (ty_ivec(?mt_a)) {
1261+
alt (b) {
1262+
case (ty_ivec(?mt_b)) { ret equal_mt(mt_a, mt_b); }
1263+
case (_) { ret false; }
1264+
}
1265+
}
12541266
case (ty_ptr(?mt_a)) {
12551267
alt (b) {
12561268
case (ty_ptr(?mt_b)) { ret equal_mt(mt_a, mt_b); }

0 commit comments

Comments
 (0)