Skip to content

Add hooks for pre and post conditions in function contracts. #1501

Closed

Description

@monal

Add hooks to replace precondition(x) and postcondition(x) as assume(x) or assert(x) statements. If a function contract is being enforced, precondition(x) gets converted to assume(x) and postcondition(x) gets converted to assert(x). If a function is being replaced by its contract, precondition(x) gets converted to assert(x) and postcondition(x) to assume(x).

Activity

  1. self-assigned this
    on Aug 11, 2022
  2. moved this from In Progress to Under Review in Kani v0.9on Aug 11, 2022
  3. celinval commented on Jul 28, 2023

    @celinval
    Contributor

    This is no longer in the scope of the contracts work.

  4. moved this from Under Review to Done in Kani v0.9on Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions