Skip to content

Pure functions calling impure functions  #4182

@abuntrock

Description

@abuntrock

Description

There are some pure MSL 4.0.0 functions, which call other (impure) MSL functions, which is not allowed according to Modelica specification section 12.3.
I found the issues #3857, #3856, #3855 , and #3655, which are all still open.
Since from our perspective more tools are checking this now, the number of warnings thrown during simulation increased. Is there something planned regarding those issues?

Expected behaviour

Impure functions are only called in the circumstances allowed by the Modelica specification section 12.3.

Tested version

MSL 4.0.0

Thanks for looking into this
Aaron Buntrock

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