Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Missing default values in records #10

@casella

Description

@casella

Please check the OpenModelica coverage report of your library. All models fail to compile because records are instantiated without giving values to some elements, that have no default value.

I guess other Modelica tools may use the start attribute as default, but I'm not sure if this is legal Modelica when you have record constructors. In any case, indicating the default explicitly in the record definition would be much clearer.

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