Opened 13 years ago

Closed 3 years ago

Last modified 3 years ago

#1636 closed defect (fixed)

getComponents API is wrong

Reported by: sjoelund.se Owned by: adeas31
Priority: high Milestone: 1.16.0
Component: NF API Version:
Keywords: Cc: sjoelund.se, adrpo, perost

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 Changed 10 years ago by sjoelund.se

  • Component set to Command Prompt Environment
  • Owner changed from sjoelund.se to adeas31
  • Status changed from new to assigned

comment:2 Changed 8 years ago by dietmarw

  • Milestone set to Future

comment:3 Changed 3 years ago by perost

  • Component changed from Command Prompt Environment to NF API
  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:4 Changed 3 years ago by casella

  • Milestone changed from Future to 1.16.0
Note: See TracTickets for help on using tickets.