Add typed data contract editing and bounded dictionary views
This commit is contained in:
@@ -168,12 +168,9 @@ impl State {
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
if let Some(SharedBody::Interface { items }) = old
|
||||
.and_then(|old| old.interface)
|
||||
.and_then(|id| p.elements.get(&id))
|
||||
.and_then(|e| e.shared())
|
||||
{
|
||||
incoming.extend(items);
|
||||
if let Some(interface) = old.and_then(|old| old.interface) {
|
||||
let items = data::interface_items(p, interface);
|
||||
incoming.extend(items.iter().copied());
|
||||
outgoing.extend(items);
|
||||
}
|
||||
for r in p.relations.values() {
|
||||
|
||||
Reference in New Issue
Block a user