generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db2920d
commit b33f3a7
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,8 +68,8 @@ type ContextCallback = dyn FnOnce(&mut Context); | |
// The purpose of this trait is to allow us to store a vector of different PersonProperties | ||
// in an object safe way, and use them to emit change events. | ||
pub trait PersonPropertyHolder { | ||
// Given a context, person, and a Vec, a callback is added to that Vec which | ||
// can later be called with a new context to emit a change event | ||
// Adds a callback to callback_vec which can later be called with a new context | ||
// to emit a change event | ||
fn add_event_callback( | ||
&self, | ||
context: &mut Context, | ||
|
@@ -754,7 +754,8 @@ mod test { | |
assert!(*flag.borrow()); | ||
} | ||
|
||
// TODO<[email protected]> This currently doesn't work | ||
// TODO([email protected]): Nested derived properties don't currently work; we should | ||
// probably either fix this or disallow it. | ||
#[ignore] | ||
#[test] | ||
fn get_derived_property_dependent_on_another_derived() { | ||
|