Changeset 13313


Ignore:
Timestamp:
2012-10-11T14:33:32+02:00 (12 years ago)
Author:
adrpo
Message:
  • attempt to fix ticket #1876
  • remove any components already declared in the expandable connector as they will be added anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/FrontEnd/Inst.mo

    r13133 r13313  
    33123312        (cdefelts,extendsclasselts,extendselts,compelts) = splitElts(els);
    33133313       
     3314        // remove components from expandable connectors
     3315        compelts = Util.if_(valueEq(re, SCode.R_CONNECTOR(true)), {}, compelts);   
     3316       
    33143317        extendselts = SCodeUtil.addRedeclareAsElementsToExtends(extendselts, SCodeUtil.getRedeclareAsElements(els));
    33153318       
Note: See TracChangeset for help on using the changeset viewer.