chore: add hir::Methods

This commit is contained in:
Shunsuke Shibayama 2023-11-05 01:18:32 +09:00
parent 234fa3ffeb
commit 21c937e633
14 changed files with 109 additions and 64 deletions

View file

@ -1295,7 +1295,7 @@ impl Context {
}
}
hir::Expr::ClassDef(class_def) => {
for def in class_def.methods.iter_mut() {
for def in class_def.all_methods_mut() {
self.resolve_expr_t(def, qnames)?;
}
Ok(())