Refactor: AttrDef -> ReDef

This commit is contained in:
Shunsuke Shibayama 2022-12-27 14:07:39 +09:00
parent 24627eb26c
commit a249de98b3
10 changed files with 83 additions and 68 deletions

View file

@ -194,7 +194,7 @@ impl SideEffectChecker {
self.path_stack.pop();
self.block_stack.pop();
}
Expr::AttrDef(_)
Expr::ReDef(_)
| Expr::Code(_)
| Expr::Compound(_)
| Expr::Import(_)
@ -457,7 +457,7 @@ impl SideEffectChecker {
));
}
}
Expr::AttrDef(_)
Expr::ReDef(_)
| Expr::Code(_)
| Expr::Compound(_)
| Expr::Import(_)