Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fold #64

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Update fold #64

wants to merge 7 commits into from

Conversation

KinanBab
Copy link
Collaborator

No description provided.

corinnt and others added 7 commits October 14, 2024 13:40
* Remove FoldIn trait and replace it with direct impl over BBox
* Get RuntimeFoldIn to work with the type erased dyn obj in AnyPolicy
* Improve specialization bounds of RuntimeFoldIn so that we can override it for AnyPolicy, RefPolicy, AndPolicy, OrPolicy, TestPolicy, and OptionPolicy
* split foldin code into several files
* use static_asserts to make the previously commented out compile-time deny tests functional
Box::new(self.clone())
}
fn can_fold_in_boxed(&self) -> bool {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@corinnt this line below was what was needed to get the dyn TypeIdPolicyTrait objects to play ball with RuntimeFoldIn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants