fscheck / FsCheck

Random Testing for .NET
https://fscheck.github.io/FsCheck/
BSD 3-Clause "New" or "Revised" License
1.15k stars 154 forks source link

Bugfix FsCheck.Fluent.Gen.Fresh #681

Closed Andreas-Dorfer closed 1 month ago

Andreas-Dorfer commented 1 month ago

I might be missing something, but it seems to me like the create parameter of FsCheck.Fluent.Gen.Fresh has the wrong type. It should be Func<'T> (not Func<Gen<'T>>).

For comparison, the create parameter of FsCheck.FSharp.Gen.fresh is of type unit -> 'T.

kurtschelfthout commented 1 month ago

Indeed! Thanks for fixing.