Changes between Initial Version and Version 1 of Ticket #5659, comment 17


Ignore:
Timestamp:
2019-10-21T14:09:53Z (5 years ago)
Author:
Mahder Alemseged Gebremedhin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5659, comment 17

    initial v1  
    9393I just wanted to remind you that you should not rely on last subscripts usually. They do not account for arrays of records. Most usage of last subscripts in the compiler is assuming that all other subscripts of a qualified cref came from arrays of **models**.
    9494
    95 If you need to ignore subscripts, usually you should ignore all subscripts where the cref is a **complex type is a model**.
     95If you need to ignore subscripts from a qualified cref, usually you should ignore all subscripts where the cref type is a **complex type model**.
    9696
    9797There is some code in CheckModel.mo that accounts for this. I will check again and let you know.