Skip to content

Report error if non-constant variable is specified as an input #441

@chrispcampbell

Description

@chrispcampbell

See discussion #440 for more details. Currently the compiler will not throw an error in the case where an input variable specified in the spec.json file is not a constant, so if the user accidentally tries to configure a non-constant to be an input, the input values will not take effect and it is hard to diagnose. Only constants should be allowed to be configured as an input, so we should detect the case where an input is configured for a non-constant and report it as a hard error.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions