Skip to content

Function postconditions are not checked #26

Description

@siddharth-krishna

This example passes:

pure function foo(x: Int) returns (y: Int)
  ensures y > x
{
  x - 2
}

Was there some reason why these checks are hard to do in general, or have we just not implemented the checks yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions