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

CLAassistant commented Jul 30, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@maltelenz
maltelenz requested a review from AHaumer September 1, 2026 12:04
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.

3 participants