[BUG][YAXO][3.4a] version madness

Avi Bryant avi at beta4.com
Wed Nov 13 20:06:17 UTC 2002


The version of YAXO included in the update stream of 3.4a is considerably
older than the version posted on SqueakMap - to the point that packages
written on top of one won't work on the other.  It might avoid some
confusion to remove the outdated version from the stream (and either
replace it with the new one, or just let people pull it from SM).

Also - YAXO 1.3 includes the following method:

elementAt: entityName ifAbsent: aBlock
	elements
		ifNil: [^aBlock value].
	^self elements
              detect: [:each | each key = entityName]
              ifNone: [^aBlock value]

However, the send to #key is incorrect - it should be #name instead.  Or
am I missing something?  This looks like an artifact from an older version
of the API.

Avi




More information about the Squeak-dev mailing list