On 8 oct. 2010, at 15:05, Alexandre Bergel wrote:
Hi!
The following returns false.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| m c|
m := FAMIXMethod new.
c := FAMIXClass new.
(FAMIXReference new source: m; target: c) = (FAMIXReference new source: m; target: c)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Is it a bug or a feature?
As Guillermo pointed out, this is an odd behavior.
One FamixReference represents one reference from within a method to a class, and there can
be multiple such references from a single method to the same class. So, this is expected.
That said, there is no way right now to create two FamixReferences to represent the same
entity in code, but does it make sense?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Simon