The Inbox: Kernel-ct.1407.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Kernel-ct.1407.mcz

commits-2
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1407.mcz

==================== 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]]!