[squeak-dev] The Trunk: Kernel-ct.1404.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Dec 29 00:47:54 UTC 2021
Christoph Thiede uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ct.1404.mcz
==================== Summary ====================
Name: Kernel-ct.1404
Author: ct
Time: 14 May 2021, 4:05:51.632396 pm
UUID: 9672a515-87f1-254a-af3d-a34210bd7e10
Ancestors: Kernel-nice.1402
Adds mirror primitive for primitiveGetImmutability (primitive 163/#isReadOnlyObject). Necessary for Tools-ct.1056 (fix for BasicInspectorTest >> #testProtoObject).
=============== Diff against Kernel-nice.1402 ===============
Item was added:
+ ----- Method: Context>>objectIsReadOnly: (in category 'mirror primitives') -----
+ objectIsReadOnly: anObject
+ "Answer if the argument is read-only without sending it a message. This micimcs the action of the VM when an object is tested for writeability. See Object >> #isReadOnlyObject."
+
+ <primitive: 163>
+ ^ (self objectClass: anObject) isImmediateClass!
More information about the Squeak-dev
mailing list
|