Skip to content
New issue

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

z3_api.h: Z3_mk_seq_last_index second argument missing name #6508

Closed
callendorph opened this issue Dec 26, 2022 · 4 comments
Closed

z3_api.h: Z3_mk_seq_last_index second argument missing name #6508

callendorph opened this issue Dec 26, 2022 · 4 comments

Comments

@callendorph
Copy link

I'm looking at this line:

Z3_ast Z3_API Z3_mk_seq_last_index(Z3_context c, Z3_ast, Z3_ast substr);

The second argument of this function is missing the name of the argument declaration. Judging by the other methods, I would assume it needs a s here.

@callendorph
Copy link
Author

I found the following additional cases:

Z3_ast Z3_API Z3_mk_re_power(Z3_context c, Z3_ast, unsigned n);

Z3_string Z3_API Z3_eval_smtlib2_string(Z3_context, Z3_string str);

void Z3_API Z3_solver_propagate_consequence(Z3_context c, Z3_solver_callback, unsigned num_fixed, Z3_ast const* fixed, unsigned num_eqs, Z3_ast const* eq_lhs, Z3_ast const* eq_rhs, Z3_ast conseq);

NikolajBjorner added a commit that referenced this issue Dec 26, 2022
NikolajBjorner added a commit that referenced this issue Dec 26, 2022
NikolajBjorner added a commit that referenced this issue Dec 26, 2022
@tw42pi
Copy link

tw42pi commented Dec 27, 2022

the change at line 5884 now misses a , between both parameters

@NikolajBjorner
Copy link
Contributor

3e8cbb6

@callendorph
Copy link
Author

Thank you!

hgvk94 pushed a commit to hgvk94/z3 that referenced this issue Mar 27, 2023
hgvk94 pushed a commit to hgvk94/z3 that referenced this issue Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants