Skip to content

Fixes invalid specification of significantDigits on a String with integer argument. - #4796

Open
modlfo wants to merge 1 commit into
modelica:masterfrom
modlfo:master
Open

Fixes invalid specification of significantDigits on a String with integer argument.#4796
modlfo wants to merge 1 commit into
modelica:masterfrom
modlfo:master

Conversation

@modlfo

@modlfo modlfo commented Jul 30, 2026

Copy link
Copy Markdown

I found a few cases inside DynamicSelect where the String() is called with an integer argument and the significantDigits are provided. That's invalid according to the specification.

The standard type coercion described in section 10.6.13 shall not be applied for the first argument of String. Hence, specifying significantDigits is an error when the first argument of String is an Integer expression.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants