Skip to content

Commit b556d4b

Browse files
committed
---
yaml --- r: 10874 b: refs/heads/master c: 2740a6b h: refs/heads/master v: v3
1 parent 4c4e9a7 commit b556d4b

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,5 +1,5 @@
11
---
2-
refs/heads/master: d6996c0210a7ec4dc82a99b394fbde086318f1ed
2+
refs/heads/master: 2740a6b6052206a381933812cfe9337a7ed2db60
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/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)