mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-08-03 22:08:17 +00:00
remove needless conversion
This commit is contained in:
parent
cf9361e97e
commit
5ed9306ee2
2 changed files with 4 additions and 24 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -253,7 +253,7 @@ checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
|
|||
[[package]]
|
||||
name = "els"
|
||||
version = "0.1.20-nightly.1"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#7adaecdfbb64d16c7e843cf45eee547afd42da0f"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#29b725423dca948507b7aa94d76f4fb63eeb640f"
|
||||
dependencies = [
|
||||
"erg_common",
|
||||
"erg_compiler",
|
||||
|
@ -274,7 +274,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "erg_common"
|
||||
version = "0.6.8-nightly.1"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#7adaecdfbb64d16c7e843cf45eee547afd42da0f"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#29b725423dca948507b7aa94d76f4fb63eeb640f"
|
||||
dependencies = [
|
||||
"backtrace-on-stack-overflow",
|
||||
"hermit-abi",
|
||||
|
@ -285,7 +285,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "erg_compiler"
|
||||
version = "0.6.8-nightly.1"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#7adaecdfbb64d16c7e843cf45eee547afd42da0f"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#29b725423dca948507b7aa94d76f4fb63eeb640f"
|
||||
dependencies = [
|
||||
"erg_common",
|
||||
"erg_parser",
|
||||
|
@ -294,7 +294,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "erg_parser"
|
||||
version = "0.6.8-nightly.1"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#7adaecdfbb64d16c7e843cf45eee547afd42da0f"
|
||||
source = "git+https://github.com/erg-lang/erg?branch=main#29b725423dca948507b7aa94d76f4fb63eeb640f"
|
||||
dependencies = [
|
||||
"erg_common",
|
||||
"unicode-xid 0.2.4",
|
||||
|
|
|
@ -83,26 +83,6 @@ fn escape_name(name: String) -> String {
|
|||
"tuple" => "GenericTuple".into(),
|
||||
"type" => "Type".into(),
|
||||
"ModuleType" => "GeneticModule".into(),
|
||||
"Obj" => "Obj\0".into(),
|
||||
"Int" => "Int\0".into(),
|
||||
"Nat" => "Nat\0".into(),
|
||||
"Ratio" => "Ratio\0".into(),
|
||||
"Float" => "Float\0".into(),
|
||||
"Bool" => "Bool\0".into(),
|
||||
"Str" => "Str\0".into(),
|
||||
"NoneType" => "NoneType\0".into(),
|
||||
"Code" => "Code\0".into(),
|
||||
"Frame" => "Frame\0".into(),
|
||||
"Error" => "Error\0".into(),
|
||||
"Inf" => "Inf\0".into(),
|
||||
"NegInf" => "NegInf\0".into(),
|
||||
"Type" => "Type\0".into(),
|
||||
"ClassType" => "ClassType\0".into(),
|
||||
"TraitType" => "TraitType\0".into(),
|
||||
"Patch" => "Patch\0".into(),
|
||||
// "NotImplemented" => "NotImplemented\0".into(),
|
||||
// "Ellipsis" => "Ellipsis\0".into(),
|
||||
"Never" => "Never\0".into(),
|
||||
_ => name,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue