Issue 876 in moose-technology: FAMIX: Opposite reference between BehaviouralEntity and ImplicitVariable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 876 in moose-technology: FAMIX: Opposite reference between BehaviouralEntity and ImplicitVariable

moose-technology
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 876 by [hidden email]: FAMIX: Opposite reference between  
BehaviouralEntity and ImplicitVariable
http://code.google.com/p/moose-technology/issues/detail?id=876

- There is a reference between ImplicitVariable and BehaviouralEntity  
(parentBehaviouralEntity) whose opposite reference is named localVariables.  
However, in BehaviouralEntity, the reference named localVariables points to  
LocalVariables. And there is no inheritance between ImplicitVariable and  
LocalVariable.


Please fill in the labels with the following information:
* Type-Engineering
* Component-FAMIX

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Issue 876 in moose-technology: FAMIX: Opposite reference between BehaviouralEntity and ImplicitVariable

moose-technology
Updates:
        Status: Fixed
        Owner: [hidden email]
        Labels: Milestone-4.7 Component-SmalltalkImporter Component-Famix

Comment #1 on issue 876 by [hidden email]: FAMIX: Opposite reference  
between BehaviouralEntity and ImplicitVariable
http://code.google.com/p/moose-technology/issues/detail?id=876

Fixed and tested.

In the process, I also fixed and tested the import to ensure that implicit  
variables instances are not created unnecessarily. The problem was that  
when ensuring the implicit variable we got:
...
at: name ifAbsentPut: (self createSpecialVariable: name forFamixMethod:  
aFAMIXMethod).

Instead we need:

at: name ifAbsentPut: [self createSpecialVariable: name forFamixMethod:  
aFAMIXMethod].

It took some 10 minutes to see the problem :)

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev