[squeak-dev] The Trunk: Kernel-eem.1420.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 2 15:11:52 UTC 2021

Eliot Miranda uploaded a new version of Kernel to project The Trunk:

==================== Summary ====================

Name: Kernel-eem.1420
Author: eem
Time: 2 November 2021, 8:11:49.057099 am
UUID: 3b580b38-8061-4dd8-9485-3fec3dd2c04a
Ancestors: Kernel-eem.1419

Merge Kernel-ct.1407

Fixes #isPrimFailToken: for objects that do not implement #isArray in a conventional way, or that do not implement it all. The following should be debuggable without any problems, but currently is not due to a regression in Kernel-eem.1366.

Fur more information, see: http://forum.world.st/The-Trunk-Kernel-eem-1366-mcz-td5126558.html

=============== Diff against Kernel-eem.1419 ===============

Item was changed:
  ----- Method: Context>>isPrimFailToken: (in category 'private') -----
  isPrimFailToken: contextOrPrimFailToken
  	"Answer if contextOrPrimFailToken, which will either be a Context object or
  	 a primitive fail token (a tuple of the PrimitiveFailToken unique object and
  	 a primitive failure code), is the latter. This should only be used with the
  	 (possibly indirect) results of Context>>doPrimitive:method:receiver:args:"
+ 	^ (self objectClass: contextOrPrimFailToken) == Array
- 	^contextOrPrimFailToken isArray
  	  and: [contextOrPrimFailToken size = 2
  	  and: [(contextOrPrimFailToken at: 1) == PrimitiveFailToken]]!

More information about the Squeak-dev mailing list