mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
fix: aliasing bug
This commit is contained in:
parent
359a030347
commit
fd0f56579a
2 changed files with 13 additions and 5 deletions
|
@ -417,14 +417,14 @@ impl Context {
|
|||
dict! { T => U }.into(),
|
||||
)
|
||||
.quantify();
|
||||
self.register_builtin_py_impl(FUNC_DICT, t_dict, Immutable, vis, Some(FUNC_DICT));
|
||||
self.register_builtin_py_impl(
|
||||
FUNC_DICT,
|
||||
t_dict,
|
||||
PYIMPORT,
|
||||
t_pyimport,
|
||||
Immutable,
|
||||
vis.clone(),
|
||||
Some(FUNC_DICT),
|
||||
Visibility::BUILTIN_PRIVATE,
|
||||
None,
|
||||
);
|
||||
self.register_builtin_py_impl(PYIMPORT, t_pyimport, Immutable, vis, None);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue