LinkedList>>add: aLinkOrObject
"Add aLink to the end of the receiver's list. Answer aLink."
^self addLast: aLinkOrObject
LinkedList>>addLast: aLinkOrObject
"Add aLink to the end of the receiver's list. Answer aLink."
|aLink|
aLink := aLinkOrObject asLink.
self isEmpty
ifTrue: [firstLink := aLink]
ifFalse: [lastLink nextLink: aLink].
lastLink := aLink.
^aLink
Object>>asLink
"Answer a string that represents the receiver."
^ ValueLink value: self
In squeak there is no such asLink....
We need a database with all the history to know which change introduced this
change.
Henrik do you remember why you introduce this change?
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project