Skip to content

Initialisation from undeclared value should raise an error #1293

@clinssen

Description

@clinssen

The following model currently passes the model validation in NESTML, although it should raise an error. Variables in the state block are only allowed to refer back to internals and parameters, internals are only allowed to refer back to parameters, and parameters can refer back to neither but need to be defined in a self-contained manner.

    parameters:
        bar real = foo

    state:
        foo real = 123

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions