Changeset 14217


Ignore:
Timestamp:
Nov 28, 2019 4:21:25 PM (8 days ago)
Author:
molsson
Message:

#5843 Fixed buildQualifiedName() for array components.

Location:
branches/dev-mo-2735/Compiler/ModelicaFrontEnd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-mo-2735/Compiler/ModelicaFrontEnd/src/jastadd/instance/InstanceTree.jrag

    r13621 r14217  
    20712071
    20722072    syn String InstNode.buildQualifiedName() = combineName(instClassNamePrefix(false), name());
     2073    eq InstArrayComponentDecl.buildQualifiedName() = instClassNamePrefix(false);
    20732074
    20742075    syn String InstClassDecl.buildQualifiedOperatorName() = combineName(instClassNamePrefix(true), name());
  • branches/dev-mo-2735/Compiler/ModelicaFrontEnd/test/modelica/FlattenTypeTests.mo

    r11725 r14217  
    3838            flatModel="
    3939fclass FlattenTypeTests.FlattenArrayWithRecordConstructor
    40  constant FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R1 m[1].r = FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R2();
    41  constant FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R1 m[2].r = FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R2();
     40 constant FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R1 m[1].r = FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R2();
     41 constant FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R1 m[2].r = FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R2();
    4242
    4343public
    44  record FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R1
    45  end FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R1;
     44 record FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R2
     45 end FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R2;
    4646
    47  record FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R2
    48  end FlattenTypeTests.FlattenArrayWithRecordConstructor.m.m.R2;
     47 record FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R1
     48 end FlattenTypeTests.FlattenArrayWithRecordConstructor.m.R1;
    4949
    5050end FlattenTypeTests.FlattenArrayWithRecordConstructor;
Note: See TracChangeset for help on using the changeset viewer.