Opened 4 years ago

Closed 4 years ago

#6437 closed defect (invalid)

Lookup issue

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: high Milestone: 1.17.1
Component: OMEdit Version: v1.17.0-dev
Keywords: Cc:

Description

Steps to reproduce:
1) load TestPackage.mo, and open Test: we have a red box because MyModel is missing
2) load MyModel.mo and look at model Test inside TestPackage: the red box has disappeared!

This means that OMEdit finds MyModel, even though it is outside its scope.
Tested with 1.7.0. beta3

Attachments (2)

TestPackage.mo (569 bytes ) - added by massimo ceraolo 4 years ago.
MyModel.mo (1001 bytes ) - added by massimo ceraolo 4 years ago.

Download all attachments as: .zip

Change History (4)

by massimo ceraolo, 4 years ago

Attachment: TestPackage.mo added

by massimo ceraolo, 4 years ago

Attachment: MyModel.mo added

comment:1 by Adrian Pop, 4 years ago

What is the actual problem with this?
What do you mean outside its scope?

Of course, before you load MyModel it won't be found.
After you load it it will be updated and used in the already loaded stuff.

comment:2 by massimo ceraolo, 4 years ago

Resolution: invalid
Status: newclosed

My fault, Sorry.

Note: See TracTickets for help on using tickets.