Delete prelude.er (-> _prelude.er)

This commit is contained in:
Shunsuke Shibayama 2022-10-17 11:28:08 +09:00
parent 1154a54c39
commit cc2b3c4b11
6 changed files with 47 additions and 41 deletions

View file

@ -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();