Skip to content

Commit 214d434

Browse files
committed
---
yaml --- r: 11514 b: refs/heads/master c: 1ed12f3 h: refs/heads/master v: v3
1 parent 8a2ff97 commit 214d434

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2115cba4ee52099a5fe5611364a69c8b2df99765
2+
refs/heads/master: 1ed12f36028daea4cfc5ad267bc65a4f02fe4a29
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/comp/middle/typeck.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,6 @@ fn lookup_method_inner(fcx: @fn_ctxt, expr: @ast::expr,
17561756
_ {}
17571757
}
17581758
}
1759-
ret none;
17601759
}
17611760
ty::ty_iface(did, tps) {
17621761
let i = 0u;
@@ -3158,7 +3157,7 @@ mod dict {
31583157
}
31593158
}
31603159
}
3161-
ty::ty_iface(did, _) {
3160+
ty::ty_iface(did, _) if iface_id == did {
31623161
ret dict_iface(did);
31633162
}
31643163
_ {

0 commit comments

Comments
 (0)