提交 d6996c02 编写于 作者: M Marijn Haverbeke

Fix bug where resolve didn't descend method ty params

Closes #1700
上级 2ca0b373
......@@ -445,7 +445,7 @@ fn visit_item_with_scope(e: @env, i: @ast::item, sc: scopes, v: vt<scopes>) {
v.visit_ty(sty, sc, v);
for m in methods {
let msc = cons(scope_method(i.id, tps + m.tps), @sc);
v.visit_fn(visit::fk_method(m.ident, []),
v.visit_fn(visit::fk_method(m.ident, m.tps),
m.decl, m.body, m.span, m.id, msc, v);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册