mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: mutable type method access bug
This commit is contained in:
parent
44b4b8d82a
commit
2887a77f70
3 changed files with 15 additions and 1 deletions
|
@ -2875,7 +2875,7 @@ impl Context {
|
|||
);
|
||||
/* Str! */
|
||||
let mut str_mut = Self::builtin_mono_class(MUT_STR, 2);
|
||||
str_mut.register_superclass(Str, &nonetype);
|
||||
str_mut.register_superclass(Str, &str_);
|
||||
let mut str_mut_mutable = Self::builtin_methods(Some(mono(MUTABLE)), 2);
|
||||
str_mut_mutable.register_builtin_const(
|
||||
IMMUT_TYPE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue