Skip to content

Conversation

HansOlsson
Copy link
Collaborator

It may need further clarification, but I think this is a good start.

@HansOlsson HansOlsson requested a review from qlambert-pro May 27, 2025 11:21
@HansOlsson HansOlsson linked an issue May 27, 2025 that may be closed by this pull request
@HansOlsson HansOlsson requested a review from henrikt-ma May 27, 2025 11:22
Co-authored-by: Henrik Tidefelt <[email protected]>
@HansOlsson HansOlsson requested a review from henrikt-ma June 23, 2025 10:54
@HansOlsson HansOlsson added this to the 2025-August milestone Aug 22, 2025

The determination of whether a variable is assigned in \lstinline!when!-clause requires evaluating the controlling conditions of any enclosing \lstinline!if!-equations and \lstinline!for!-equations, \cref{where-a-when-equation-may-occur}.
\begin{nonnormative}
Checking whether a \lstinline!Real! variable declared as \lstinline!discrete! is assigned in a \lstinline!when!-clause for other valid values of controlling conditions is a quality of implementation issue for tools.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we every say … for tools when talking out quality of implementation:

Suggested change
Checking whether a \lstinline!Real! variable declared as \lstinline!discrete! is assigned in a \lstinline!when!-clause for other valid values of controlling conditions is a quality of implementation issue for tools.
It is a quality of implementation to check that a variable declared as \lstinline!discrete! is assigned in a \lstinline!when!-clause also for other valid values of controlling conditions.

Copy link
Collaborator

@henrikt-ma henrikt-ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know enough about the feasibility of implementing the suggested rule, so I leave for @qlambert-pro to approve if the rule makes sense to him.

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.

Structural variability
2 participants