Opened 10 years ago
Closed 6 years ago
#3567 closed defect (fixed)
diffModelicaFileListings removes within clause
| Reported by: | Adeel Asghar | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.14.0 |
| Component: | Interactive Environment | Version: | |
| Keywords: | Cc: |
Description
Use the attached script to produce the error. diffModelicaFileListings removes the within clause from the model and also adds extra parentheses around the variable in the equation section.
Attachments (1)
Change History (11)
by , 10 years ago
| Attachment: | script.mos added |
|---|
comment:1 by , 10 years ago
comment:6 by , 9 years ago
| Milestone: | 1.11.0 → 1.12.0 |
|---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:7 by , 8 years ago
| Milestone: | 1.12.0 → Future |
|---|
The milestone of this ticket has been reassigned to "Future".
If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.
If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".
In both cases, a short informative comment would be welcome.
comment:8 by , 6 years ago
| Milestone: | Future → 1.14.0 |
|---|---|
| Priority: | high → blocker |
This issue is still valid, I think we should get rid of all these diffModelicaListings bugs for 1.14.0, if possible.
comment:9 by , 6 years ago
| Milestone: | 1.14.0 → 1.15.0 |
|---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2.
This issue, previously marked as blocker for 1.14.0, is rescheduled to 1.15.0
comment:10 by , 6 years ago
| Milestone: | 1.15.0 → 1.14.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
This was fixed already fixed for 1.14. The within is now preserved if present in the class.

As for the
within ;; is it expected that we always add it or that we only add it if it was there to begin with?