From fe260703642b014a8beeb9a09a3a1f13c1b9ec94 Mon Sep 17 00:00:00 2001 From: ychenfo Date: Thu, 5 Aug 2021 15:09:28 +0800 Subject: [PATCH] cleanup basic_test_env --- nac3core/src/typecheck/type_inferencer/test.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nac3core/src/typecheck/type_inferencer/test.rs b/nac3core/src/typecheck/type_inferencer/test.rs index 3eec4b02e..4592ec6ef 100644 --- a/nac3core/src/typecheck/type_inferencer/test.rs +++ b/nac3core/src/typecheck/type_inferencer/test.rs @@ -79,9 +79,7 @@ impl TestEnvironment { fields: HashMap::new().into(), params: HashMap::new(), }); - // identifier_mapping.insert("None".into(), none); let primitives = PrimitiveStore { int32, int64, float, bool, none }; - set_primitives_magic_methods(&primitives, &mut unifier); let id_to_name = [ @@ -90,9 +88,6 @@ impl TestEnvironment { (2, "float".to_string()), (3, "bool".to_string()), (4, "none".to_string()), - (5, "Foo".to_string()), - (6, "Bar".to_string()), - (7, "Bar2".to_string()), ] .iter() .cloned()