You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the solver considers the coercion of all strings to be <0. This means that when a condition requires a negative value sometimes a string can be generated instead of an integer. If the string does not happen to match the condition under JavaScript's comparison rules then the branch will be missed.
I have asked the CVC4 guys about this, but if it is expected behaviour then we will need to generate some extra constraints in these cases to restrict what solutions are appropriate to match the JavaScript's behaviour.
The text was updated successfully, but these errors were encountered:
See new test case in 647ad24.
It seems that the solver considers the coercion of all strings to be <0. This means that when a condition requires a negative value sometimes a string can be generated instead of an integer. If the string does not happen to match the condition under JavaScript's comparison rules then the branch will be missed.
I have asked the CVC4 guys about this, but if it is expected behaviour then we will need to generate some extra constraints in these cases to restrict what solutions are appropriate to match the JavaScript's behaviour.
The text was updated successfully, but these errors were encountered: