-
Notifications
You must be signed in to change notification settings - Fork 8
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
When bumping ClojureScript predicates can't be satisfied #21
Comments
Could you share a schema that does this? |
I'm sorry. This is probably my mistake because I can't reproduce the issue in a simple project. You can close this. In my project, full of dependencies I get the error even when trying to generate the simplest schema like Do you have a guess of what it can be?
|
It doesn't look familiar. If you think the cause is something to do with your dependencies list, and you're interested in continuing to pursue this, you could work on wittling down the dependencies list to see what is the smallest set that still reproduces the bug. |
The weirdest part is that only happens when I bump clojurescript from "1.10.520" to "1.10.597". I will do that, thanks! |
I was able to reproduce the issue I'm having: The problem is not with schema-generators. It arises when I use shadow-cljs version >= 2.8.84, or when I use a version < 2.8.83 but bump clojurescript from version 1.10.520 to version 1.10.597. The dependecy trees using I'm closing this issue, but if you a guess about what may happening would help a lot. |
you could try using the random number generator in I'm not sure that explanation helps though, because if your example (just an int?) doesn't involve but maybe still worth a try. The theory is that if some kind of compilation bug is resulting in a degenerate RNG that always generates the same number, |
When bumping clojurescript to version 1.10.597 I start to get the error
Error: Couldn't satisfy such-that predicate after 10 tries
when trying to generate data based on Schema.
The text was updated successfully, but these errors were encountered: