Open tjhance opened 1 week ago
struct Node { child: Option<Box<Node>>, } impl Node { pub spec fn map(self) -> Map<int, int>; } impl Clone for Node { fn clone(&self) -> (res: Self) ensures forall |key: int| #[trigger] self.map().dom().contains(key) ==> key == 3 { Node { child: None } } }
This gives:
error: let variables in triggers not supported, use #![trigger ...] instead
This gives: