Move Eq to Bool

This commit is contained in:
Ayaz Hafiz 2022-10-10 15:22:57 -05:00
parent bd5f5ed735
commit a256947a9f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
19 changed files with 92 additions and 101 deletions

View file

@ -178,7 +178,6 @@ impl Default for ModuleCache<'_> {
ENCODE,
DECODE,
HASH,
EQ,
JSON,
}
@ -2248,7 +2247,6 @@ fn update<'a>(
extend_header_with_builtin(&mut header, ModuleId::ENCODE);
extend_header_with_builtin(&mut header, ModuleId::DECODE);
extend_header_with_builtin(&mut header, ModuleId::HASH);
extend_header_with_builtin(&mut header, ModuleId::EQ);
}
state
@ -3283,7 +3281,6 @@ fn load_module<'a>(
"Encode", ModuleId::ENCODE
"Decode", ModuleId::DECODE
"Hash", ModuleId::HASH
"Eq", ModuleId::EQ
"Json", ModuleId::JSON
}
@ -4781,7 +4778,6 @@ fn canonicalize_and_constrain<'a>(
| ModuleId::DICT
| ModuleId::SET
| ModuleId::HASH
| ModuleId::EQ
);
if !name.is_builtin() || should_include_builtin {