Opened 19 years ago
Last modified 14 years ago
#77 closed defect (worksforme)
Built-in type attributes given as modifiers in type declarations not propagated
Reported by: | jakesson | Owned by: | jakesson |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | jakesson, Adrian Pop |
Description
See comments.
Note:
See TracTickets
for help on using tickets.
Consider the class:
model C1
end C1;
and the corresponding instantiated flat class generated by instantiateModel(.)
fclass C1
Real x(unit = "m", start = 1.0);
Real y;
end C1;
The modifiers of the type declaration corresponding to Y are not propagated to
the component y of type Y. This is major to me since I generate code where e.g.
the min, max, and nominal attributes are important.