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
I'm having trouble trying to generate samples from nested case classes containing sealed traits.
When I try to generate an instance of a nested case class that contains sealed traits, the generator often fails, returning None.
Gen is supposed to fail when filtering is wrong. In my experiments Gen is failing even though I'm not applying any filter (also, it looks like gen.retryUntil(_ => true) is ignored and None is often returned).
I was not able to isolate the problem. Here is my experiment :)
I'm having trouble trying to generate samples from nested case classes containing sealed traits.
When I try to generate an instance of a nested case class that contains sealed traits, the generator often fails, returning
None
.Gen is supposed to fail when filtering is wrong. In my experiments Gen is failing even though I'm not applying any filter (also, it looks like
gen.retryUntil(_ => true)
is ignored andNone
is often returned).I was not able to isolate the problem. Here is my experiment :)
note: I'm using scala
2.11.7
and"scalacheck-shapeless_1.13" % "1.1.0-RC1"
.The text was updated successfully, but these errors were encountered: