Opened 5 years ago
Last modified 3 years ago
#5398 new defect
getClassInformation returns wrong source info
Reported by: | adeas31 | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: | adrpo, sjoelund.se |
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)
Changed 5 years ago by adeas31
comment:1 Changed 5 years ago by adeas31
- Cc adrpo sjoelund.se added
comment:2 Changed 5 years ago by casella
comment:3 Changed 5 years ago by adrpo
@casella: this does not change with the new API, is an AST query, nothing to do with instantiation.
comment:4 Changed 5 years ago by casella
- Milestone changed from 1.14.0 to 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:5 Changed 3 years ago by casella
- Milestone changed from 1.16.0 to 1.17.0
Retargeted to 1.17.0 after 1.16.0 release
comment:6 Changed 3 years ago by casella
- Milestone changed from 1.17.0 to 1.18.0
Retargeted to 1.18.0 because of 1.17.0 timed release.
comment:7 Changed 3 years ago by casella
- Milestone 1.18.0 deleted
Ticket retargeted after milestone closed
@adrpo, does this change with the new API?