default values of keyword parameters are not checked to be in the allowed set

Create issue
Issue #2392 new
Roland Haas created an issue

Currently neither the CST nor the runtime code stops a simulation if the default value of a parameter is not in the allowed set of values. The runtime code actually detects this state then outputs an (invisible since the info level is not yet available) warning about which parameter is affected, then another one to the effect of “but continuing anyway”.

It seems better if default values were restricted to be in the allowed range, ideally both at compile time and at runtime (in case compile time checks miss something).

Comments (1)

  1. Log in to comment