Opened 12 years ago

Last modified 12 years ago

#1980 closed defect

SCodeFlatten fails to rename imports — at Version 1

Reported by: Martin Sjölund Owned by: Per Östlund
Priority: high Milestone: 1.9.0
Component: Frontend Version: trunk
Keywords: Cc:

Description (last modified by Per Östlund)

SCodeFlatten fails to rename imports that are part of a path

package N
  import N.X.x;
  package X
    Real x = 1.0;
  end X;
end N;

model M
  import N.X.x;
  Real r1 = N.x;
  Real r2 = x;
end M;

Change History (1)

comment:1 by Per Östlund, 12 years ago

Description: modified (diff)

Renamed component r to x so that the model is valid.

Note: See TracTickets for help on using tickets.