#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 , 10 years ago
Component: | → Command Prompt Environment |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 9 years ago
Milestone: | → Future |
---|
comment:3 by , 4 years ago
Component: | Command Prompt Environment → NF API |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:4 by , 4 years ago
Milestone: | Future → 1.16.0 |
---|
Note:
See TracTickets
for help on using tickets.
With
-d=nfAPI
you now getN.O
as the type ofr
, so this seems to have been fixed.