Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the uniqueness of Figure and Plot identifiers #2544

Merged

Conversation

otronarp
Copy link
Member

@otronarp otronarp commented Apr 9, 2020

No description provided.

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.

Just a minor comment. Looks good.

\lstinline!identifier! must be unique among the \lstinline!plots! in the
\lstinline!Figure! annotation.
The \lstinline!identifier! in \lstinline!Figure! and \lstinline!Plot! is an
optional \lstinline!String! identifier, and is intended to identify the
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it necessary to say it's a String here, given the pseudo-code record definitions?

Copy link
Member Author

@otronarp otronarp Apr 9, 2020

Choose a reason for hiding this comment

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

Part of the confusion was about the identifiers living in the same namespace as everything else, spelling out String here should make that more clear.

Copy link
Collaborator

@henrikt-ma henrikt-ma Apr 9, 2020

Choose a reason for hiding this comment

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

OK, let's see if it the kind of clarification @gkurzbach was looking for, and perhaps see if @HansOlsson wants to have a say on the general style.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, I think it is fine now.

Copy link
Collaborator

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

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

Ok, I think it is fine now.

@HansOlsson HansOlsson self-requested a review April 15, 2020 06:41
Copy link
Collaborator

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

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

Ok, I think it is fine now.

@HansOlsson
Copy link
Collaborator

Shall we merge it to MCP/0033?

@henrikt-ma
Copy link
Collaborator

Yes, it seems like @gkurzbach has nothing more to add.

@henrikt-ma henrikt-ma merged commit a05f634 into modelica:MCP/0033 Apr 20, 2020
@gkurzbach
Copy link
Collaborator

@henrikt-ma you are right.

@HansOlsson HansOlsson added the MCP0033 Predefined plot issues and PRs (MCP-0033) label Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MCP0033 Predefined plot issues and PRs (MCP-0033)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants