Changes between Initial Version and Version 2 of Ticket #1106


Ignore:
Timestamp:
2012-08-17T11:33:35Z (12 years ago)
Author:
Martin Sjölund
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1106

    • Property Cc AlexeyLebedev, → AlexeyLebedev
    • Property Component InstantiationFrontend
    • Property Milestone1.9.0
  • Ticket #1106 – Description

    initial v2  
    11Consider the following example:
    2 
     2{{{
    33model Test
    44
     
    1717 
    1818end Test;
    19 
     19}}}
    2020It is translated into the following:
    21 
     21{{{
    2222fclass Test
    2323parameter Real c.r = 0.1;
     
    2626parameter Real c1.ra[1];
    2727end Test;
    28 
     28}}}
    2929I.e., the modification ra[1]=0.2 is not instantiated for C1, though it is instantiated correctly for c. The modification r=0.1 is instatiated correctly both for C1 and c. It does not depend on whether r and ra are declared parameters or not.