Skip to content

Non-evaluable controlling conditions around when-equations #3799

@henrikt-ma

Description

@henrikt-ma

In https://specification.modelica.org/master/equations.html#restrictions-on-where-a-when-equation-may-occur, I believe it was an omission to not require exclusively evaluable conditions:

when-equations can only occur within if-equations and for-equations if the controlling expressions are exclusively parameter expressions.

Correct?

(This is something I found while reviewing #3798.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions