Skip to content

Commit

Permalink
Entity slicing with manifest (#1239)
Browse files Browse the repository at this point in the history
Signed-off-by: oflatt <[email protected]>
Signed-off-by: Shaobo He <[email protected]>
Co-authored-by: oflatt <[email protected]>
Co-authored-by: Andrew Wells <[email protected]>
Co-authored-by: John Kastner <[email protected]>
  • Loading branch information
4 people authored Nov 14, 2024
1 parent 4ceed62 commit 82fd3b7
Show file tree
Hide file tree
Showing 11 changed files with 2,625 additions and 420 deletions.
7 changes: 0 additions & 7 deletions cedar-policy-core/src/ast/entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,14 +569,7 @@ impl Entity {
Ok(())
}

/// Mark the given `UID` as an ancestor of this `Entity`.
// When fuzzing, `add_ancestor()` is fully `pub`.
#[cfg(not(fuzzing))]
pub(crate) fn add_ancestor(&mut self, uid: EntityUID) {
self.ancestors.insert(uid);
}
/// Mark the given `UID` as an ancestor of this `Entity`
#[cfg(fuzzing)]
pub fn add_ancestor(&mut self, uid: EntityUID) {
self.ancestors.insert(uid);
}
Expand Down
Loading

0 comments on commit 82fd3b7

Please sign in to comment.