Open seizethedave opened 6 years ago
An easy and correct (although perhaps suboptimal) fix would be for Cozy to automatically transform string literals into uninterpreted extern
declarations before starting synthesis.
Another workaround is to use an extern
declaration for a function that compares against a string literal, as in
extern is_issue_tracking(x : String) : Bool = "({x} == \"issue_tracking\")"
A query like this:
produces this error when run in synthesis mode:
...because Z3 doesn't (currently) deal with strings.