mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 20:14:45 +00:00
Delete prelude.er
(-> _prelude.er
)
This commit is contained in:
parent
1154a54c39
commit
cc2b3c4b11
6 changed files with 47 additions and 41 deletions
|
@ -301,6 +301,7 @@ fn convert_to_python_name(name: Str) -> Str {
|
|||
}
|
||||
}
|
||||
|
||||
/// This method obviously does not scale, so in the future all Python APIs will be replaced by declarations in d.er, and renaming will be done in `HIRDesugarer`.
|
||||
fn escape_name(ident: Identifier) -> Str {
|
||||
let vis = ident.vis();
|
||||
let mut name = convert_to_python_name(ident.name.into_token().content).to_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue