Skip to content

Empty preconditions error #78

@TheDeveloper101

Description

Attempting to convert programs with an empty preconditions gives the following error: Every statement in invariant block must be a pure boolean invariant.

Minimal test case for reproducing the error:

fun f(Int a): Int{ preconditions { } return a; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions