Fixed formatting and clutter

This commit is contained in:
aadityavardhan 2022-08-21 15:42:51 +05:30
parent 9889a85d38
commit 170a1b8641
2 changed files with 1 additions and 4 deletions

View File

@ -74,7 +74,6 @@ pub fn get_exn_constructor(
constructor: Some(signature),
resolver: None,
loc: None,
// Make TopLevelDef::Class initlializer compatible
static_fields: Default::default(),
};
(fun_def, class_def, signature, exn_type)
@ -177,7 +176,6 @@ pub fn get_builtins(primitives: &mut (PrimitiveStore, Unifier)) -> BuiltinInfo {
type_vars: Default::default(),
fields: exception_fields,
methods: Default::default(),
// Make TopLevelDef::Class initlializer compatible
static_fields: Default::default(),
ancestors: vec![],
constructor: None,
@ -204,7 +202,6 @@ pub fn get_builtins(primitives: &mut (PrimitiveStore, Unifier)) -> BuiltinInfo {
object_id: DefinitionId(10),
type_vars: vec![option_ty_var],
fields: vec![],
// Make TopLevelDef::Class initlializer compatible
static_fields: vec![],
methods: vec![
("is_some".into(), is_some_ty.0, DefinitionId(11)),