Noticed while investigating #459
/// Returns the else value of the function interpretation.
/// Returns None if the else value is not set by Z3.
pub fn get_else(&self) -> Dynamic {
unsafe {
Dynamic::wrap(
&self.ctx,
Z3_func_interp_get_else(self.ctx.z3_ctx.0, self.z3_func_interp).unwrap(),
)
}
}
This doc comment does not match the return type of this function. I believe the raw Dynamic is correct, as an else is always returned (as far as I can tell).