mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-01 13:11:11 +00:00
Refactor: AttrDef -> ReDef
This commit is contained in:
parent
24627eb26c
commit
a249de98b3
10 changed files with 83 additions and 68 deletions
|
@ -869,9 +869,9 @@ impl Context {
|
|||
}
|
||||
Ok(())
|
||||
}
|
||||
hir::Expr::AttrDef(attr_def) => {
|
||||
// REVIEW: attr_def.attr is not dereferenced
|
||||
for chunk in attr_def.block.iter_mut() {
|
||||
hir::Expr::ReDef(redef) => {
|
||||
// REVIEW: redef.attr is not dereferenced
|
||||
for chunk in redef.block.iter_mut() {
|
||||
self.resolve_expr_t(chunk)?;
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue