hm-inference #6

Merged
sb10q merged 136 commits from hm-inference into master 2021-08-19 11:46:50 +08:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit fe26070364 - Show all commits

View File

@ -79,9 +79,7 @@ impl TestEnvironment {
fields: HashMap::new().into(), fields: HashMap::new().into(),
params: HashMap::new(), params: HashMap::new(),
}); });
// identifier_mapping.insert("None".into(), none);
let primitives = PrimitiveStore { int32, int64, float, bool, none }; let primitives = PrimitiveStore { int32, int64, float, bool, none };
set_primitives_magic_methods(&primitives, &mut unifier); set_primitives_magic_methods(&primitives, &mut unifier);
let id_to_name = [ let id_to_name = [
@ -90,9 +88,6 @@ impl TestEnvironment {
(2, "float".to_string()), (2, "float".to_string()),
(3, "bool".to_string()), (3, "bool".to_string()),
(4, "none".to_string()), (4, "none".to_string()),
(5, "Foo".to_string()),
(6, "Bar".to_string()),
(7, "Bar2".to_string()),
] ]
.iter() .iter()
.cloned() .cloned()