Opened 6 years ago
Last modified 3 years ago
#5398 new defect
getClassInformation returns wrong source info
Reported by: | Adeel Asghar | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: | Adrian Pop, Martin Sjölund |
Description
Run the attached script. getClassInformation(Modelica.Mechanics.MultiBody.World.gravityAcceleration)
returns,
("function","",false,false,false,"C:/OpenModelica/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/package.mo",false,1185,15,1188,8,{},false,false,"","",false,"")
The line and column end information is wrong. It gives 1188
and 8
but it should be 1201
and 11
.
Attachments (1)
Change History (8)
by , 6 years ago
comment:1 by , 6 years ago
Cc: | added |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
@casella: this does not change with the new API, is an AST query, nothing to do with instantiation.
comment:4 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
Note:
See TracTickets
for help on using tickets.
@adrpo, does this change with the new API?