Closed copy closed 3 years ago
Hi, I belive this was fixed in https://github.com/jobjo/popper/pull/50. Will soon release a new version.
I believe there is still an issue. I can reproduce the above example with popper pinned to the latest commit (opam pin add --dev popper
). It does work when removing the Popper.Sample.bind
.
Right, exceptions were only caught at the level of producing a Random.t Sample.t
not in actually running the sample. Fixed in https://github.com/jobjo/popper/pull/63.
The following example fails with
Fatal error: exception File "test.ml", line 2, characters 71-77: Assertion failed
: