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

Don't say that end is a function call, and be a bit clearer. #3361

Merged
merged 2 commits into from Apr 14, 2023

Conversation

HansOlsson
Copy link
Collaborator

Closes #3351

Note that end in functions will generally be a discrete-time expression (as everything else in functions).

An alternative would have been to view end in A[...end...] as syntactic sugar for the function call size(A, i) with suitable i, which maybe would reduce the number of special cases.

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.

Fix looks good, but left a suggestion for a minor language fix.

Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
@HansOlsson HansOlsson merged commit b82222d into modelica:master Apr 14, 2023
1 check passed
@HansOlsson HansOlsson deleted the EndCall branch April 14, 2023 08:16
@HansOlsson HansOlsson added the M37 For pull requests merged into Modelica 3.7 label Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M37 For pull requests merged into Modelica 3.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'end' is not a function call
2 participants