build: update deps

This commit is contained in:
Shunsuke Shibayama 2025-01-29 17:37:49 +09:00
parent 814c46996d
commit 4caac7c325
3 changed files with 14 additions and 20 deletions

View file

@ -7,7 +7,6 @@ use erg_common::set::Set;
use erg_common::traits::LimitedDisplay;
use erg_common::{log, Str};
use erg_compiler::build_package::{CheckStatus, PylyzerStatus};
use erg_compiler::context::ControlKind;
use erg_compiler::hir::{ClassDef, Expr, HIR};
use erg_compiler::module::SharedModuleCache;
use erg_compiler::ty::value::{GenTypeObj, TypeObj};
@ -188,12 +187,7 @@ impl DeclFileGenerator {
self.gen_chunk_decl(chunk);
}
}
Expr::Call(call)
if call
.obj
.show_acc()
.is_some_and(|acc| ControlKind::try_from(&acc[..]).is_ok()) =>
{
Expr::Call(call) if call.control_kind().is_some() => {
for arg in call.args.iter() {
self.gen_chunk_decl(arg);
}