Skip to content

Commit aeea929

Browse files
committed
---
yaml --- r: 7894 b: refs/heads/snap-stage3 c: 2740a6b h: refs/heads/master v: v3
1 parent cc82de9 commit aeea929

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d6996c0210a7ec4dc82a99b394fbde086318f1ed
4+
refs/heads/snap-stage3: 2740a6b6052206a381933812cfe9337a7ed2db60
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/src/comp/middle/resolve.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,9 @@ fn visit_item_with_scope(e: @env, i: @ast::item, sc: scopes, v: vt<scopes>) {
444444
alt ifce { some(ty) { v.visit_ty(ty, sc, v); } _ {} }
445445
v.visit_ty(sty, sc, v);
446446
for m in methods {
447+
v.visit_ty_params(m.tps, sc, v);
447448
let msc = cons(scope_method(i.id, tps + m.tps), @sc);
448-
v.visit_fn(visit::fk_method(m.ident, m.tps),
449+
v.visit_fn(visit::fk_method(m.ident, []),
449450
m.decl, m.body, m.span, m.id, msc, v);
450451
}
451452
}

0 commit comments

Comments
 (0)