From 8f6f9af89cb015027bfdac8f94f43002c64aee7f Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Sun, 26 Mar 2023 12:02:59 +0900 Subject: [PATCH] update deps --- Cargo.lock | 12 ++++-------- Cargo.toml | 12 ++++++------ README.md | 1 + 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1e9d8af..3f587a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -253,8 +253,7 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "els" version = "0.1.21-nightly.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effb16a463a0482c87815d6c783bc84dacc2ba3cd5a8d17fc5d16b90655bb863" +source = "git+https://github.com/erg-lang/erg?branch=main#bf50ec289ab8c72f39fdb91cc4293af2133254e7" dependencies = [ "erg_common", "erg_compiler", @@ -275,8 +274,7 @@ dependencies = [ [[package]] name = "erg_common" version = "0.6.9-nightly.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1006deef4a766d7176835224853776db7716bf052e64d67601e2ade75e5dfb36" +source = "git+https://github.com/erg-lang/erg?branch=main#bf50ec289ab8c72f39fdb91cc4293af2133254e7" dependencies = [ "backtrace-on-stack-overflow", "hermit-abi", @@ -287,8 +285,7 @@ dependencies = [ [[package]] name = "erg_compiler" version = "0.6.9-nightly.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b959c9f6e1470108bd7bff4b06ffbd2538a73184704c1dc7df740c62e3f5554" +source = "git+https://github.com/erg-lang/erg?branch=main#bf50ec289ab8c72f39fdb91cc4293af2133254e7" dependencies = [ "erg_common", "erg_parser", @@ -297,8 +294,7 @@ dependencies = [ [[package]] name = "erg_parser" version = "0.6.9-nightly.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e537715293794c1cde49e1cfbbebb895c5b6f9a1c6face524a3b86c9e26c86b0" +source = "git+https://github.com/erg-lang/erg?branch=main#bf50ec289ab8c72f39fdb91cc4293af2133254e7" dependencies = [ "erg_common", "unicode-xid 0.2.4", diff --git a/Cargo.toml b/Cargo.toml index 63ed42c..1f59667 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,13 +22,13 @@ edition = "2021" repository = "https://github.com/mtshiba/pylyzer" [workspace.dependencies] -erg_common = { version = "0.6.9-nightly.0", features = ["py_compatible", "els"] } -erg_compiler = { version = "0.6.9-nightly.0", features = ["py_compatible", "els"] } -els = { version = "0.1.21-nightly.0", features = ["py_compatible"] } +# erg_common = { version = "0.6.9-nightly.0", features = ["py_compatible", "els"] } +# erg_compiler = { version = "0.6.9-nightly.0", features = ["py_compatible", "els"] } +# els = { version = "0.1.21-nightly.0", features = ["py_compatible"] } rustpython-parser = "0.1.2" -# erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible", "els"] } -# erg_common = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible", "els"] } -# els = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible"] } +erg_compiler = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible", "els"] } +erg_common = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible", "els"] } +els = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["py_compatible"] } # erg_compiler = { path = "../erg/crates/erg_compiler", features = ["py_compatible", "els"] } # erg_common = { path = "../erg/crates/erg_common", features = ["py_compatible", "els"] } # els = { path = "../erg/crates/els", features = ["py_compatible"] } diff --git a/README.md b/README.md index 557469b..d083e3e 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ pylyzer converts Python ASTs to Erg ASTs and passes them to Erg's type checker. * [ ] others * [ ] type variable (`TypeVar`, `Generic`) * [ ] type assertion (`typing.cast`) +* [ ] type guard (`TypeGuard`, `is`, `isinstance`, `issubclass`) ---