Comment #1 on issue 972 by
[hidden email]: MNU
GLMTreeMorphNodeModel>>previousLink:
http://code.google.com/p/moose-technology/issues/detail?id=972Not sure if this is the final solution, but error is avoided by adding
asOrderedCollection...
GLMTreeMorphModel >> roots: anObjectOrCollection
roots := anObjectOrCollection isCollection
ifTrue: [ anObjectOrCollection ">>"asOrderedCollection"<<" collect:
[:each | self nodeModelFor: each ] ]
ifFalse: [ OrderedCollection with: (self nodeModelFor:
anObjectOrCollection) ]
------------------
Otherwise...
* anObjectOrCollection is a FreeTypeCacheLinkedList, whose #collect: &
#addLast: methods require elements to understand #nextLink and #previousLink
* block-variable :each is a FreeTypeCacheEntry, which does understand these
* the result of [self nodeModelFor: each] is GLMTreeMorphNodeModel, which
does not
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev