IntersectMBO / plutus

The Plutus language implementation and tools
Apache License 2.0
1.57k stars 479 forks source link

[Test] Get the seed in 'noStructuralErrors' #6595

Closed effectfully closed 1 month ago

effectfully commented 1 month ago

Copying a Slack comment:

Apparently with QuickCheck you can throw exceptions in IO and of type IO smth, but what you can't do is throw an exception of type IOException, i.e. you can't throw an exception while you're throwing an exception, because in that case you won't get a seed. It is of course entirely accidental that we throw an exception while throwing an exception, but I didn't expect that to break QuickCheck.