Opened 5 years ago
Last modified 5 years ago
#6180 closed defect
Nested records which seek to assign values between each other now fail to compile — at Initial Version
| Reported by: | Owned by: | somebody | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.16.0 | 
| Component: | Frontend | Version: | v1.16.0-dev | 
| Keywords: | Cc: | 
Description
Sample code follows below.  This code compiles in previous releases of OMC.
model DebugI
record InnerA
Integer c = 2;
end InnerA;
record InnerB
Integer c;
end InnerB;
record BaseRecord
InnerA inner_a;
Integer d = inner_a.c; ...this works
InnerB inner_b (c = inner_a.c); ...this fails to compile
end BaseRecord
BaseRecord base;
end DebugI;
  Note:
 See   TracTickets
 for help on using tickets.
    
