[squeak-dev] The Inbox: Kernel-ct.1407.mcz

commits at source.squeak.org commits at source.squeak.org
Sun May 16 17:06:31 UTC 2021

A new version of Kernel was added to project The Inbox:

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

Name: Kernel-ct.1407
Author: ct
Time: 16 May 2021, 7:06:28.57708 pm
UUID: 8efbcb28-1774-174b-9fe0-17609ca53503
Ancestors: Kernel-nice.1402

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-nice.1402 ===============

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