Skip to content

Commit 5ef1a5e

Browse files
committed
build: update version (nightly.1)
1 parent a9cd32d commit 5ef1a5e

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ members = [
2222
]
2323

2424
[workspace.package]
25-
version = "0.6.46-nightly.0"
25+
version = "0.6.46-nightly.1"
2626
authors = ["erg-lang team <[email protected]>"]
2727
license = "MIT OR Apache-2.0"
2828
edition = "2021"
@@ -74,12 +74,12 @@ log-level-error = ["erg_common/log-level-error", "erg_parser/log-level-error", "
7474
parallel = ["erg_common/parallel", "erg_parser/parallel", "erg_compiler/parallel", "erg_linter/parallel"]
7575

7676
[workspace.dependencies]
77-
erg_common = { version = "0.6.46-nightly.0", path = "./crates/erg_common" }
78-
erg_parser = { version = "0.6.46-nightly.0", path = "./crates/erg_parser" }
79-
erg_compiler = { version = "0.6.46-nightly.0", path = "./crates/erg_compiler" }
80-
erg_linter = { version = "0.6.46-nightly.0", path = "./crates/erg_linter" }
81-
els = { version = "0.1.58-nightly.0", path = "./crates/els" }
82-
erg_proc_macros = { version = "0.6.46-nightly.0", path = "./crates/erg_proc_macros" }
77+
erg_common = { version = "0.6.46-nightly.1", path = "./crates/erg_common" }
78+
erg_parser = { version = "0.6.46-nightly.1", path = "./crates/erg_parser" }
79+
erg_compiler = { version = "0.6.46-nightly.1", path = "./crates/erg_compiler" }
80+
erg_linter = { version = "0.6.46-nightly.1", path = "./crates/erg_linter" }
81+
els = { version = "0.1.58-nightly.1", path = "./crates/els" }
82+
erg_proc_macros = { version = "0.6.46-nightly.1", path = "./crates/erg_proc_macros" }
8383
pyo3 = { version = "0.21", features = ["extension-module"] }
8484

8585
[dependencies]

crates/els/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "els"
33
description = "An Erg compiler frontend for IDEs, implements LSP."
44
documentation = "http://docs.rs/els"
5-
version = "0.1.58-nightly.0"
5+
version = "0.1.58-nightly.1"
66
authors.workspace = true
77
license.workspace = true
88
edition.workspace = true

crates/erg_compiler/context/instantiate_spec.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use std::option::Option; // conflicting to Type::Option
22

3+
use erg_common::consts::PYTHON_MODE;
34
use erg_common::levenshtein::get_similar_name;
45
#[allow(unused)]
56
use erg_common::log;
@@ -682,6 +683,7 @@ impl Context {
682683
"Inf" => Ok(Type::Inf),
683684
"NegInf" => Ok(Type::NegInf),
684685
"Never" => Ok(Type::Never),
686+
"Any" if PYTHON_MODE => Ok(Type::Failure),
685687
"ClassType" => Ok(Type::ClassType),
686688
"TraitType" => Ok(Type::TraitType),
687689
"Type" => Ok(Type::Type),

0 commit comments

Comments
 (0)