Opened 13 years ago

Closed 4 years ago

Last modified 4 years ago

#1636 closed defect (fixed)

getComponents API is wrong

Reported by: Martin Sjölund Owned by: Adeel Asghar
Priority: high Milestone: 1.16.0
Component: NF API Version:
Keywords: Cc: Martin Sjölund, Adrian Pop, Per Östlund

Description

Rewrite using SCodeFlatten or something. We need the correct name, not this haphazard stuff :p

loadString("
package N type O = Real; end N;
model M
  import R = N.O;
  R r;
end M;
");
getComponents(M);

Returns N.R r ... What?

Change History (4)

comment:1 by Martin Sjölund, 10 years ago

Component: Command Prompt Environment
Owner: changed from Martin Sjölund to Adeel Asghar
Status: newassigned

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Future

comment:3 by Per Östlund, 4 years ago

Component: Command Prompt EnvironmentNF API
Resolution: fixed
Status: assignedclosed

With -d=nfAPI you now get N.O as the type of r, so this seems to have been fixed.

comment:4 by Francesco Casella, 4 years ago

Milestone: Future1.16.0
Note: See TracTickets for help on using tickets.