Open nevillelyh opened 7 years ago
Just realized the workaround broke property("tree")
with StackOverflowError
. Maybe there can be some compromise between the 2.
Resizing is absolutely crucial, otherwise you'll likely get "infinite" structures. Could you alternatively try scalacheck-shapeless?
Yes I understand now after seeing the StackOverflowError
. scalacheck-shapeless
works for this case. Just curious if there is a way to make this lib work for both scenarios. :)
In that case I would suggest using scalacheck-shapeless
instead of shapeless-contrib
. The former is actively maintained, the latter isn't (I'll merge PRs, but won't fix problems myself).
Alright I'll let it rest then :)
See also #33.
@nevillelyh Thanks for reporting it anyway. I'll leave it open so that prospective users see immediately that they should prefer scalacheck-shapeless
:smile:
The following test fails with a message like "! Nested.nested: Gave up after only 7 passed tests. 501 tests were discarded.".
I got it to work by removing the resizing logic. I can submit a PR for this but would like to understand better why it's there in the first place.