Skip to content

Type checker does not catch double-bounded invariants #11

@RasmusRendal

Description

@RasmusRendal

Copy of UPPAALModelChecker/UPPAAL-Meta#88

The following system:
image
where timer is a clock and tau is a double, should be caught by the typechecker, since invariants can only be bounded by integers, not by doubles.

Instead, it is caught at runtime, such that an error only occured when we are in the actual state.

We may or may not want to wait with doing this check until we implement #10, since we do allow double-bounded invariants in SMC.

invalidinvariant.xml.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions