We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repro:
use z3::Sort; fn main() { let cfg = z3::Config::new(); let ctx = z3::Context::new(&cfg); let res1 = Sort::enumeration( &ctx, "SameNameSort".into(), &["A".into(), "B".into(),] ); dbg!(&res1); let res2 = Sort::enumeration( &ctx, "SameNameSort".into(), &["C".into(), "D".into(),] ); dbg!(&res2); }
This manages to show the issue without triggering any UB, but doing anything interesting with res2 gives a nullptr exception
res2
I'm not sure what exactly is supposed to happen, but at the very least this should panic!
panic!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
repro:
This manages to show the issue without triggering any UB, but doing anything interesting with
res2
gives a nullptr exceptionI'm not sure what exactly is supposed to happen, but at the very least this should
panic!
The text was updated successfully, but these errors were encountered: