mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
fix: import resolution
This commit is contained in:
parent
0274b458b4
commit
24141ea3f3
4 changed files with 153 additions and 45 deletions
|
@ -912,20 +912,6 @@ impl Context {
|
|||
Visibility::BUILTIN_PUBLIC,
|
||||
None,
|
||||
);
|
||||
let T = type_q(TY_T);
|
||||
let list_t = no_var_func(
|
||||
vec![],
|
||||
vec![kw(KW_ITERABLE, poly(ITERABLE, vec![ty_tp(T.clone())]))],
|
||||
array_t(T, TyParam::erased(Nat)),
|
||||
)
|
||||
.quantify();
|
||||
self.register_builtin_py_impl(
|
||||
FUNC_LIST,
|
||||
list_t,
|
||||
Immutable,
|
||||
Visibility::BUILTIN_PUBLIC,
|
||||
None,
|
||||
);
|
||||
}
|
||||
|
||||
pub(super) fn init_builtin_operators(&mut self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue