Merge branch 'trunk' into store-dec-as-str

This commit is contained in:
Richard Feldman 2021-08-19 23:06:04 -04:00 committed by GitHub
commit 4c72aba4a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 2437 additions and 2132 deletions

View file

@ -64,24 +64,10 @@ where
let mut hasher = DefaultHasher::new();
for layout in argument_layouts {
match layout {
Layout::Closure(_, lambda_set, _) => {
lambda_set.runtime_representation().hash(&mut hasher);
}
_ => {
layout.hash(&mut hasher);
}
}
layout.hash(&mut hasher);
}
match return_layout {
Layout::Closure(_, lambda_set, _) => {
lambda_set.runtime_representation().hash(&mut hasher);
}
_ => {
return_layout.hash(&mut hasher);
}
}
return_layout.hash(&mut hasher);
hasher.finish()
};
@ -1258,11 +1244,6 @@ fn layout_spec_help(
}
},
},
Closure(_, lambda_set, _) => layout_spec_help(
builder,
&lambda_set.runtime_representation(),
when_recursive,
),
}
}