Opened 8 years ago
Closed 8 years ago
#4190 closed defect (fixed)
When equations with array components as condition now fail
Reported by: | Adrian Pop | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.12.0 |
Component: | Frontend | Version: | |
Keywords: | Cc: |
Description
After commit: de28a2253f035562f9ea3abaf51e450951da9869/OMCompiler things like:
Real x[10]; equation when x then end when;
generate an error. Array component references should be supported.
Because of this 5 models from ScalableTestSuite are failing:
https://test.openmodelica.org/libraries/ScalableTestSuite_Experimental/BuildModelRecursive.html
https://test.openmodelica.org/libraries/ScalableTestSuite_Experimental/files/ScalableTestSuite.Elementary.WhenEvents.Verification.ManyEventsManyConditions.err
I guess we don't have any test in the testsuite that checks for this and we should add one.
Change History (2)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 1171da/OMCompiler and added test in bd4996/OpenModelica-testsuite.