#3722 closed defect (fixed)
copyClass API wrong source info
Reported by: | Adeel Asghar | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | v1.9.4-dev-nightly |
Keywords: | Cc: |
Description
Run the attached script.
The model M
is copied inside package P
and P.M
file info should be same as package P
.
list(P)
returns the correct information but if you call save(P)
the contents of P.mo are wrong.
Attachments (3)
Change History (8)
by , 9 years ago
by , 9 years ago
by , 9 years ago
Attachment: | script.mos added |
---|
comment:1 by , 9 years ago
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in 8e32ac5. copyClass now tries to be a bit less clever, and just puts the copied class in the same file as the destination package.