Changes between Initial Version and Version 1 of Ticket #2318, comment 3


Ignore:
Timestamp:
2013-08-21T14:04:05Z (11 years ago)
Author:
Peter Aronsson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2318, comment 3

    initial v1  
    1 Yes, I realized that when I wrote the ticket, but wouldn't it be nicer from a backend perspective if those were rewritten to "empty slots" instead, which is standard Modelica? That way, the backend doesn't have to deal with all possible empty arrays that could be in there, e.g. {}, {{}}, {{{}}}. And the backend still needs to take care of the case (a,,) = foo(b,c), so it would simplify the backend alot.
     1Yes, I realized that when I wrote the ticket, but wouldn't it be nicer from a backend perspective if those were rewritten to "empty slots" instead, which is standard Modelica? That way, the backend doesn't have to deal with all possible empty arrays that could be in there, e.g.
     2{{{
     3{}, {{}}, {{{}}}
     4}}}
     5 And the backend still needs to take care of the case
     6 
     7{{{
     8(a,,) = foo(b,c)
     9}}}
     10, so it would simplify the backend alot.
    211
    312This is not supercritical for us right now, since I've made a workaround for now, but all attempts at simplifying stuff are good, I think ;-)