Changes between Initial Version and Version 1 of Ticket #5885


Ignore:
Timestamp:
2020-03-09T13:35:52Z (5 years ago)
Author:
Per Östlund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5885 – Description

    initial v1  
    2626The question is whether this is something that should be fixed in the frontend or the backend. The subscripts in e.g. `v[:].re` are superfluous since `v.re` would mean the same thing, but the same issue occurs with more complicated slice subscripts that can't just be removed. Removing the subscripts also makes the code generation succeed in this case, but the generated code is wrong.
    2727
    28 Unfortunately I can't just check that the old frontend does in this case, since it flatten the function to:
     28Unfortunately I can't just check what the old frontend does in this case, since it flatten the function to:
    2929{{{#!mo
    3030function Modelica.ComplexMath.sum