mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
chore: fix redundant type display
This commit is contained in:
parent
05cc170f3f
commit
14b26a7f4d
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ impl Context {
|
|||
if let Some(outer) = self.get_outer() {
|
||||
outer.path()
|
||||
} else if self.kind == ContextKind::Module {
|
||||
self.name.clone()
|
||||
self.name.replace(".__init__", "").into()
|
||||
} else {
|
||||
BUILTINS.clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue