I'm really struggling with an opaque such-that failure. the references for the failure are at generators.cljc
line 416, but I'm not explicitly calling elements
anywhere and I'm not sure what's up.
if I run my own generators 100,000 times it works fine.
What version is this?
(So I can follow the line number)
Now that I think about it I bet you're getting misled by line numbers across versions
I think I tracked down the source of that error; which is that (s/and int? #(< -30 % 30))
implicitly uses such-that
internally.
Yeah that's the usual culprit
I also apparently managed to break my REPL, and it kept telling me that something wasn't a generator when it clearly was. reloading it fixed that, not sure what caused it.
anyway, now it's working nicely.
Reloading the generators namespace somehow?
not sure. now that I've fixed the problem with my generators, it's not happening anymore.
🤷
yeah, it's a mystery. I'm really loving the generative testing for fuzzing some complicated file encoding code, though.
Yeah it's fun