Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Jan 29, 2025
1 parent 814c469 commit 4caac7c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ edition = "2021"
repository = "https://github.com/mtshiba/pylyzer"

[workspace.dependencies]
erg_common = { version = "0.6.52-nightly.0", features = ["py_compat", "els"] }
erg_compiler = { version = "0.6.52-nightly.0", features = ["py_compat", "els"] }
els = { version = "0.1.64-nightly.0", features = ["py_compat"] }
erg_common = { version = "0.6.52-nightly.1", features = ["py_compat", "els"] }
erg_compiler = { version = "0.6.52-nightly.1", features = ["py_compat", "els"] }
els = { version = "0.1.64-nightly.1", features = ["py_compat"] }
# rustpython-parser = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
# rustpython-ast = { version = "0.3.0", features = ["all-nodes-with-ranges", "location"] }
rustpython-parser = { git = "https://github.com/RustPython/Parser", version = "0.4.0", features = ["all-nodes-with-ranges", "location"] }
Expand Down
8 changes: 1 addition & 7 deletions crates/py2erg/gen_decl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 4caac7c

Please sign in to comment.