I guess the bug is due to the new contract of #getFrom: and
#setOn:values: that treats all properties as if multivalued. Before
those methods called the bare selectors, that is, worked diff for
single- and multivalued properties.
cheers,
AA
On 4 Sep 2008, at 10:59 , Tudor Girba wrote:
Hmm,
Something is funny here. I have to take a closer look.
Cheers,
Doru
On Sep 4, 2008, at 10:27 AM, Alexandre Bergel wrote:
Hi,
| class |
class := FAMIXClass new.
class name: 'AClass'.
class addToMethods: (FAMIXMethod new name: 'aMethod'; yourself).
class addToMethods: (FAMIXMethod new name: 'anotherMethod';
yourself).
(class mooseDescription allAttributes detect: [:p | p name ==
#methods]) getFrom: class
The following code returns:
an Array(an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod))
Shouldn't it be instead?:
an OrderedCollection(a FAMIXMethod #aMethod a FAMIXMethod
#anotherMethod)
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
--
www.tudorgirba.com
www.tudorgirba.com/blog
"It's not what we do that matters most, it's how we do it."