Open W95Psp opened 3 months ago
This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.
Just like https://github.com/hacspec/hax/issues/789, this issue makes requires/ensures painful on traits, let's keep it open.
Consider the following, where
forall x. p x ==> q x
.This will not result in F that typechecks, because the F precondition and postcondition of
f
is represented as a dedicated method in the typelcassMyTrait
. We need to "add a precondition to the postcondition": the postcondition should require the precondition.