d242edb57b
typestate was using the enclosing function ID for the "this function returns" constraint, which meant confusion and panic in the case where a predicate p includes "check p()". Fixed it to use a fresh ID. Closes #933
3 lines
53 B
Rust
3 lines
53 B
Rust
pure fn c() -> bool { check c(); true }
|
|
fn main() {}
|