Closed dp1 closed 1 year ago
Z3_parse_smtlib2_string and Z3_parse_smtlib2_file are marked as returning a Z3_ast, while they should be returning a Z3_ast_vector (https://z3prover.github.io/api/html/group__capi.html#ga7905ebec9289b9fe5debcad965f6267e). This (tiny) PR fixes the problem.
Z3_parse_smtlib2_string
Z3_parse_smtlib2_file
Z3_ast
Z3_ast_vector
Just a ping for this - in its current state it causes a nasty type confusion when using the bindings, leading to crashes later in the execution.
Ah, this happened in Z3 4.8.
Thanks!
Z3_parse_smtlib2_string
andZ3_parse_smtlib2_file
are marked as returning aZ3_ast
, while they should be returning aZ3_ast_vector
(https://z3prover.github.io/api/html/group__capi.html#ga7905ebec9289b9fe5debcad965f6267e). This (tiny) PR fixes the problem.