mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
feat: add init_py_builtin_operators
This commit is contained in:
parent
bb6d76cf81
commit
e944132cfc
3 changed files with 158 additions and 2 deletions
|
@ -903,7 +903,11 @@ impl Context {
|
|||
ctx.init_builtin_funcs();
|
||||
ctx.init_builtin_const_funcs();
|
||||
ctx.init_builtin_procs();
|
||||
ctx.init_builtin_operators();
|
||||
if cfg!(feature = "py_compatible") {
|
||||
ctx.init_py_builtin_operators();
|
||||
} else {
|
||||
ctx.init_builtin_operators();
|
||||
}
|
||||
ctx.init_builtin_traits();
|
||||
ctx.init_builtin_classes();
|
||||
ctx.init_builtin_patches();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue